-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12.01.2013 15:04, rowan.bradley wrote:
> Can someone please explain the difference between Owned By and Assigned To?
> If I create a new ticket and Assign it to X, it stays as New, not Assigned,
> but Owned by X. This seems really weird. How can I assign it to X, but it
> stay unassigned? There is no way that I can see on this screen to do
> anything that will cause the ticket to show up as assigned in the ticket
> list.
This one is about ticket-workflow.
You insist in having an assigned ticket status, so you'll need to define
it in your trac.ini's section titled [ticket-workflow]. Here is the Trac
default for 1.0:
[ticket-workflow]
accept = new,assigned,accepted,reopened -> accepted
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
leave = * -> *
leave.default = 1
leave.operations = leave_status
reassign = new,assigned,accepted,reopened -> assigned
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reopen = closed -> reopened
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = new,assigned,accepted,reopened -> closed
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY
This defines the following five valid values for ticket status:
* 'new' (initial ticket status, hard-coded default meaning
"always there, even if not defined")
* 'assigned' - get there via the 'reassign' action from any status
but not from 'closed'
* 'accepted' - same as before, but action is named 'accept' here
Note: Therefor I do regularly delete that action and status
as redundant in my Trac applications, but YMMV.
* 'closed' - same as before, but special action 'resolve' is unique
for including the 'set_resolution' operation
Note: You won't want to delete or rename that status, because this is
the second ticket status, that is hard-coded in many places.
* 'reopened' - special for being the only alternative for 'closed'
tickets
Note: 'leave' is a special action, available in any ticket status
due to the special definition '* -> *'
Note2: I tend to obsolete 'reopened' as well by writing
reopen = closed -> new
accept vs. reassign or accepted vs. assigned is just to separate tickets
you adopt from tickets you've got assigned by someone else. It depends
on your local policy, if this matter to you. In my own applications it
doesn't, so only one action exists to reassign, and all tickets are in
'assigned' status, or further simplified: have only
'new' and 'closed' and actions to reassign, close and reopen.
The TracGuide has more on this topic, in your own TracWiki or at
http://trac.edgewall.org/wiki/TracWorkflow
Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAlDx2SAACgkQ31DJeiZFuHfY0wCgsEe1vbWCYtoiAOrecC0muqM6
WE4An0NMp70uv9UksvHo7HKv3y7zLgk5
=r7cn
-----END PGP SIGNATURE-----