Changes between Version 13 and Version 14 of AdvancedTicketWorkflowPlugin
- Timestamp:
- May 10, 2008, 1:50:44 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedTicketWorkflowPlugin
v13 v14 7 7 8 8 Currently provided operations are: 9 * set_owner_to_reporter (!TicketWorkflowOpOwnerReporter) 10 * set_owner_to_component_owner (!TicketWorkflowOpOwnerComponent) 11 * set_owner_to_field (!TicketWorkflowOpOwnerField) 12 * set_owner_to_previous (!TicketWorkflowOpOwnerPrevious) 13 * set_status_to_previous (!TicketWorkflowOpStatusPrevious) 14 * run_external (!TicketWorkflowOpRunExternal) 9 * set_owner_to_reporter 10 * set_owner_to_component_owner 11 * set_owner_to_field 12 * set_owner_to_previous 13 * set_status_to_previous 14 * run_external 15 * triage 15 16 16 17 (File requests for additional operations as enhancement tickets.) … … 54 55 Sets the owner to the ticket reporter. 55 56 {{{ 56 57 <someaction>.operations = set_owner_to_reporter 57 58 }}} 58 59 * set_owner_to_component_owner (!TicketWorkflowOpOwnerComponent) 59 60 Sets the owner to the ticket's component owner. 60 61 {{{ 61 62 <someaction>.operations = set_owner_to_component_owner 62 63 }}} 63 64 * set_owner_to_field (!TicketWorkflowOpOwnerField) 64 65 Sets the owner to the value of a ticket field. 65 66 {{{ 66 67 67 <someaction>.operations = set_owner_to_field 68 <someaction>.set_owner_to_field = mycustomfield 68 69 }}} 69 70 * set_owner_to_previous (!TicketWorkflowOpOwnerPrevious) 70 71 Sets the owner to the previous owner. If there is no previous owner, the owner will be deleted. 71 72 {{{ 72 73 <someaction>.operations = set_owner_to_previous 73 74 }}} 74 75 * set_status_to_previous (!TicketWorkflowOpStatusPrevious) 75 76 Sets the status to the previous status. If there is no previous status, this is a no-op. 76 77 {{{ 77 78 <someaction>.operations = set_owner_to_previous 78 79 }}} 79 80 * run_external (!TicketWorkflowOpRunExternal) 80 81 Runs an external script `<tracenv>/hooks/<someaction>` passing the ticket number and the username as parameters. '''Security warning: If you have account registration available, your hook script ''must'' treat the username as user input.''' 81 82 {{{ 82 <someaction>.operations = run_external 83 <someaction>.run_external = Hint to tell the user. 83 <someaction>.operations = run_external 84 <someaction>.run_external = Hint to tell the user. 85 }}} 86 * triage (!TicketWorkflowOpTriage) 87 Sets the next status based on mapping the value of a field to a status value. For example, this can be used for a "triage" action that splits a workflow based on the ticket type. 88 {{{ 89 <someaction> = somestatus -> * 90 <someaction>.operations = triage 91 <someaction>.triage_field = type 92 <someaction>.traige_split = defect->new_defect,task->new_task,enhancement->new_enhancement 84 93 }}} 85 94