Transition Subtasks Post-Function

What is it?

The problem you need to solve: Be able to perform transition for Sub-Tasks.

How Minyaa solves this problem: A Workflow Post-Function able to try the transition of Issue's Sub-Tasks.

How it works

The Post-Function requests to the Auto-Transition Manager to try to perform, for each sub-Tasks, a transition identified by the Action Id and flagged using the Flag Condtion.

Configuring the Feature

To configure the Transition Subtasks Workflow Post-Function, follow these steps :

  1. Add the Transition Subtasks Post-function to any wanted transition, that will be Initiator of the Transition on the Subtasks.

    For more information on adding a Post Function in Workflow, please see JIRA: Adding a Post Function Adding a Transition Subtasks Post-Function

  2. Its configuration allows you to specify ...

    • The Action Id. concerned for the Auto-Transition to perform for the Sub-Task
    • A Flag that may be required if the Auto-Transition to perform is conditioned by a Flag Condition
    • A comment to append when the transition is executed.

    Transition Subtasks Post-Function

  3. When added, the Post-Function should be among the latest defined Post-Functions (its weight is set to 9999).

  4. You will end up with a transition looking like:

    Transition Subtasks Post-Function

    And the XML Declaration as follow :

    <post-function >
    	<function type="class">
        	<arg name="">com.minyaa.workflow.function.TransitionSubtasksFunction</arg>