Typed Ticket Workflow
This plugin adds additional condition for workflow actions: ticket Type. This allows you to create actions applicable for a specific ticket type. This plugin is based on default ConfigurableTicketWorkflow component.
For example, "Ready for QA" should be applicable to 'task' tickets only. So you can write:
ready_for_qa.tickettype = task
You can add multiple types seperated by a comma:
ready_for_qa.tickettype = task, enhancement
If the tickettype attribute is not set, no filter is applied.
This plugin must replace the ConfigurableTicketWorkflow plugin if it is installed. All ConfigurableTicketWorkflow functions are still available.
- Requires Trac 0.11.2 or later.
- If you want to use this plugin along with AdvancedTicketWorkflowPlugin look at #4547 and #4548.
If you have any issues, create a new ticket.
Download the zipped source from here.
General instructions on installing Trac plugins can be found on the TracPlugins page.
Enable the plugin in your trac.ini file with:
[components] typedworkflow.* = enabled
A typical implementation of a workflow would be represented as follows in trac.ini:
[ticket] workflow = TypedTicketWorkflow [ticket-workflow] accept = new,assigned,accepted,reopened -> accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY accept.tickettype = bug, task
- 13576 by rjollos on 2014-01-15 02:18:02
0.2: Bump version from 0.2dev to 0.2. Refs #4548.
Thanks to glinders for testing the latest.
- 13574 by rjollos on 2014-01-14 22:07:54
0.2dev: Override get_actions_by_operation_for_req . Fixes #4548.
Patch by geoff.
- 13573 by rjollos on 2014-01-14 22:04:06
0.2dev: Non-functional changes.
- PEP-0008 changes.
- Added license headers.