The problem you need to solve: Be able to intiate a reserved transition of the current issue.
How Minyaa solves this problem: A Workflow Post-Function able to identified candidate Transitions of the current issue depending on a Flag and init the first one.
You have to use this Post-Function in combination with the Flag Condtion.
You may add the Flag Condtion 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 :
<post-function > <function type="class"> <arg name="class.name">com.minyaa.workflow.function.TransitionFlaggedTransitionsFunction</arg> <arg name="flagproperty">AutoCandidate</arg> </function> </post-function>
<action id="900" name="Auto-Close Issue" > <meta name="AutoCandidate">true</meta> ... </action>