Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Usage cases

You want to perform transition for

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-FunctionImage Removed
    Image Added

  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-FunctionImage Removed

    Image Added

  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-FunctionImage RemovedImage Added

    And the XML Declaration as follow : 

    Code Block
    languagexml
    linenumberstrue
    <post-function >
    	<function type="class">
    	  <arg name="full.module.key">fr.alkaes.minyaa.jira-plugin-minyaa-workflowstransition-subtasks-function</arg>
    	  <arg name="action">15</arg>
    	  <arg name="class.name">com>fr.alkaes.minyaamyaawf.workflow.functionpostfunction.TransitionSubtasksFunction</arg>
    	  <arg name="autoTransitionComment">Executed from Parent Issue</arg>
    	  <arg name="flagproperty">reserved</arg>
    	</function>
    </post-function>
Panel

On this page:

Table of Contents

 


Content by Label
showLabelsfalse
spacesMINYAA
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "MINYAA"
labelsdocumentation-space-sample

Info
titleSee also ...

JIRA: Adding a Post Function