|Version 11 (modified by rjollos, 2 years ago) (diff)|
Workflow based on ticket type
The MultipleWorkflowPlugin replaces the ConfigurableTicketPlugin used by trac to control what actions a ticket can do reading [ticket-workflow] session.
With MultipleWorkflowPlugin trac can read the workflow based on the type of ticket that is considering. If a section for that ticket type doesn't exist than it uses the default workflow.
If you have any issues, create a new ticket.
Download the zipped source from Attachments session on the lower part of this page.
Enable the plugin with:
[components] multipleworkflowplugin.* = enabled multipleworkflowplugin.multipleworkflowplugin.multipleworkflowplugin = enabled
Add the controller to the workflow controller list:
For using it you should have in the trac.ini file the [ticket-workflow] session because when a section for a ticket type doesn't exist trac uses the [ticket-workflow] for the actions to do. If you want to define different workflows than you should create in trac.ini sections called [ticket-workflow-ticket_type] where ticket_type is the type of ticket you want to use this section,you can create all the sections you want and trac will use them when that kind of ticket is being used,you can create ticket type in the admin pannel under ticket types.