| 1 | = TypedTicketWorkflow = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | Add additional condition for workflow actions: ticket Type. |
| 6 | This allow to create actions applicable for specific ticket type. This plugin based on default ConfigurableTicketWorkflow plugin. |
| 7 | For example "ready for QA" action should be applicable for 'task' tickets only. |
| 8 | So you can write: |
| 9 | ready_for_qa.tickettype = task |
| 10 | You can add multiple types using comma. |
| 11 | ready_for_qa.tickettype = task, enchantment |
| 12 | If tickettype attribute is not set, no filter applicable. |
| 13 | |
| 14 | This plugin must replace ConfigurableTicketWorkflow. All ConfigurableTicketWorkflow functions are still available. |
| 15 | |
| 16 | |
| 17 | == Bugs/Feature Requests == |
| 18 | |
| 19 | Existing bugs and feature requests for TypedTicketWorkflowPlugin are |
| 20 | [report:9?COMPONENT=TypedTicketWorkflowPlugin here]. |
| 21 | |
| 22 | If you have any issues, create a |
| 23 | [http://trac-hacks.org/newticket?component=TypedTicketWorkflowPlugin&owner=kivsiak new ticket]. |
| 24 | |
| 25 | == Download == |
| 26 | |
| 27 | Download the zipped source from [download:typedticketworkflowplugin here]. |
| 28 | |
| 29 | == Source == |
| 30 | |
| 31 | You can check out TypedTicketWorkflowPlugin from [http://trac-hacks.org/svn/typedticketworkflowplugin here] using Subversion, or [source:typedticketworkflowplugin browse the source] with Trac. |
| 32 | |
| 33 | == Example == |
| 34 | |
| 35 | [ticket] |
| 36 | workflow = TypedTickedWorkflow |
| 37 | |
| 38 | [ticket-workflow] |
| 39 | accept = new,assigned,accepted,reopened -> accepted |
| 40 | accept.operations = set_owner_to_self |
| 41 | accept.permissions = TICKET_MODIFY |
| 42 | accept.tickettype = bug, task |
| 43 | |
| 44 | |
| 45 | == Recent Changes == |
| 46 | |
| 47 | [[ChangeLog(typedticketworkflowplugin, 3)]] |
| 48 | |
| 49 | == Author/Contributors == |
| 50 | |
| 51 | '''Author:''' [wiki:kivsiak] [[BR]] |
| 52 | '''Contributors:''' |