You want to initiate a reserved transition of the current issue.
You have to use this Post-Function in combination with the Flag Condition.
You may add the Flag Condition to the candidate Transition. Also the Transition will be reserved, and only the Post-Function will be allowed to perform the transition.
The Post-Function will be able to identify all these candidate transitions and will perform the first valid one .
To configure this Workflow Post-Function, follow these steps :
You will end up with a transition looking like: And the XML Declaration as follow :
<arg name="autoTransitionComment">Transitioned by Post-Function</arg>
Then, you will have to mark these Transitions as candidate for Auto-Transition. To do that, add the Flag (here AutoCandidate) as Property in the Transition with True as value. The XML Declaration will be as follow :
<action id="900" name="Auto-Close Issue" >
On this page:
See also ...
JIRA: Adding a Post Function