Hi

> -----Ursprungligt meddelande-----
> Från: [email protected] [mailto:[email protected]] För
> QAguy
> Skickat: den 30 juni 2011 00:45
> Till: Trac Users
> Ämne: [Trac] Re: How to make trac not auto reassign ticket owner
> 
> On Jun 29, 4:26 am, "Cooke, Mark" <[email protected]> wrote:
> >
> > /.../
> >
> > ...the owner is affected if your workflow transition includes any of {
> > del_owner, set_owner, set_owner_to_self }.  To leave the owner
> > unaffected, make sure the transition does not include any of these
> > operations.
> >
> > ~ mark c
> 
> Let me clarify the actual problem I'm having. I do want to be able to
> change the assigned to on any transition, but only when the user selects
> to do that. Right now if the user updates a ticket by say, adding a
> comment and then submits the update, that automatically assigns the ticket
> to them. I do not want that to happen unless the user specifically
> reassigned the ticket to someone else. Does this make sense and can it be
> done in trac?

Marks comment about workflow transitions really says it all.
I suspect your default transition has a defined a set_owner_to_self action.
The trac.ini file should typically contain something like this:

[ticket-workflow]
leave = * -> *
leave.default = 1
leave.operations = leave_status

No other transition should have a default assigned.
Can you please verify this?

To allow a change of owner, in any state, the following is typical (but
normally
restricted to open-only tickets, and not all states as shown here):

[ticket-workflow]
setowner = * -> *
setowner.name = set owner
setowner.operations = set_owner
setowner.permissions = TICKET_MODIFY


Hope that helps.

--Mikael Relbe (mrelbe)


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to