Changes between Version 13 and Version 14 of AdvancedTicketWorkflowPlugin


Ignore:
Timestamp:
May 10, 2008, 3:50:44 AM (7 years ago)
Author:
retracile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedTicketWorkflowPlugin

    v13 v14  
    77
    88Currently 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
    1516
    1617(File requests for additional operations as enhancement tickets.)
     
    5455    Sets the owner to the ticket reporter.
    5556{{{
    56     <someaction>.operations = set_owner_to_reporter
     57<someaction>.operations = set_owner_to_reporter
    5758}}}
    5859 * set_owner_to_component_owner  (!TicketWorkflowOpOwnerComponent)
    5960    Sets the owner to the ticket's component owner.
    6061{{{
    61     <someaction>.operations = set_owner_to_component_owner
     62<someaction>.operations = set_owner_to_component_owner
    6263}}}
    6364 * set_owner_to_field  (!TicketWorkflowOpOwnerField)
    6465    Sets the owner to the value of a ticket field.
    6566{{{
    66     <someaction>.operations = set_owner_to_field
    67     <someaction>.set_owner_to_field = mycustomfield
     67<someaction>.operations = set_owner_to_field
     68<someaction>.set_owner_to_field = mycustomfield
    6869}}}
    6970 * set_owner_to_previous  (!TicketWorkflowOpOwnerPrevious)
    7071    Sets the owner to the previous owner.  If there is no previous owner, the owner will be deleted.
    7172{{{
    72     <someaction>.operations = set_owner_to_previous
     73<someaction>.operations = set_owner_to_previous
    7374}}}
    7475 * set_status_to_previous  (!TicketWorkflowOpStatusPrevious)
    7576    Sets the status to the previous status.  If there is no previous status, this is a no-op.
    7677{{{
    77     <someaction>.operations = set_owner_to_previous
     78<someaction>.operations = set_owner_to_previous
    7879}}}
    7980 * run_external (!TicketWorkflowOpRunExternal)
    8081    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.'''
    8182{{{
    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
    8493}}}
    8594