|Version 13 (modified by rjollos, 3 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 [download:multipleworkflowplugin here].
Enable the plugin with:
[components] multipleworkflow.* = enabled
Add the controller to the workflow controller list:
workflow = MultipleWorkflowPlugin
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.
- 16167 by rjollos on 2016-12-29 00:28:05
MultipleWorkflowPlugin 1.3.2: Remove unused args from initializer
- 15137 by Cinc-th on 2015-12-28 14:11:25
- Let parent calculate default ticket actions only once instead of calculating them again and again when using.
- Calculate actions for ticket types only once
- Bump version to 1.3.1
- 15132 by Cinc-th on 2015-12-23 12:48:23
Tag for stable version V1.3.0.