Description
Executes a transition and moves to the specified step. It will execute the transition only if the transition is valid for the current status of the issue. If the skipStateCheck parameter is set to true, the routine will force the target transition even if the issue is currently inside another transition and has been modified.
Parameters
Return Type
Boolean (true/false)
If the return value is "true", the transition was executed successfully. A "false" return value means that the transition failed. In this case check the log for additional details.
Examples
Example 1
autotransition(121, "PRJ-123");
Returns "true" if the transition with the ID=121 for the issue PRJ-123 was executed and "false" if the transition wasn't executed.
Example 2
autotransition("Require information", "PRJ-232");
Returns "true" if the transition requirng information for the issue PRJ-232 was executed and "false" if the transition wasn't executed.
See also