|Version 1 (modified by kivsiak, 8 years ago) (diff)|
Add additional condition for workflow actions: ticket Type. This allow to create actions applicable for specific ticket type. This plugin based on default ConfigurableTicketWorkflow plugin. For example "ready for QA" action should be applicable for 'task' tickets only. So you can write: ready_for_qa.tickettype = task You can add multiple types using comma. ready_for_qa.tickettype = task, enchantment If tickettype attribute is not set, no filter applicable.
This plugin must replace ConfigurableTicketWorkflow. All ConfigurableTicketWorkflow functions are still available.
If you have any issues, create a new ticket.
Download the zipped source from [download:typedticketworkflowplugin here].
[ticket] workflow = TypedTickedWorkflow
[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.