Hi all,

I am using the latest version of trac from trunk on a debian server.

I have a custom workflow defined for my trac project. Instead of
setting the status to "closed" for a ticket, if the resolution is set,
I want to set the status to "betatest". So far so good. I just added a
new workflow description to trac.ini and everything works as expected.

But now I would really like to set the status of the ticket depending
on the resolution type. So if I "resolve as fixed" the status shall
change to "betatest", but if I "resolve as wontfix" or "invalid" the
status should change to "closed" or something else than "betatest".

Is that possible?


here is my current workflow section:
[ticket-workflow]
accept = new,assigned,accepted,reopened -> accepted
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
betatest = betatest -> closed
betatest.operations = set_resolution
betatest.permissions = TICKET_MODIFY
leave = * -> *
leave.default = 1
leave.operations = leave_status
reassign = new,assigned,accepted,reopened,betatest -> 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 -> betatest
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY

--~--~---------~--~----~------------~-------~--~----~
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