Versions Compared

Key

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

Block Linked Issues depending on Status

 

Usage cases

The basic usage case is to block a Transition of a Parent Issue until all its Sub-Tasks are Resolved or Closed.

But it may be also these others use cases:

  • Block a Resolve transition until Linked Issues having a Block Issue Link Type are Resolved.
  • Or Block Start Progress Transition of a Sub-Task until its Parent Issue is In Progress
  • and many others ....

 

How it works

By defining this Workflow Condition in a Transition of your workflow, you are able to block/allow the transition depending of the Status reached by Linked Issues .

     By

Warning
By Linked Issues, the condition considers all Issue Link Type (
included
included Sub-Task) in both direction (Inward
and
 and Outwards
Link
 Link).

 

Configuring the Feature

To configure the Block Linked Issues depending on Status Workflow Condition, please follow these steps :

  1. Add the Block Linked Issues depending on Status to the wanted transition.
    For more information on adding a Condition in Workflow, please see JIRA: Configuring Workflow
     Image Added
  2. Its configuration allows you to specify which Issue Link Types and Statuses are concerned by the condition.
     
    
  1. Image Added
    You have to select
    • The list of Issue Link Types (Inward or Outward) to consider,
    • The list of Statuses required for allowing the transition,


  2. You will end up with a condition looking like: 
    Image Added

XML Declaration

And the XML Declaration as follow :


1.<conditions>

Code Block
languagexml
<condition 
2.<condition
type="class">
3.<arg

	<arg name="outwardLinkTypesSelected">10000,</arg>
	<arg name="inwardLinkTypesSelected"></arg>
	<arg name="class.name"
>com
>fr.alkaes.
minyaa
myaawf.workflow.condition.BlockingOnLinkedIssuesStatusCondition</
arg>
4.<arg name="outwardLinkTypesSelected">10100,</arg>
5.<arg name="inwardLinkTypesSelected"></arg>
6.<arg name="selectedStatuses">10000,</arg>
7.</condition>
8.</post-condition
arg>
	<arg name="selectedStatuses">3,</arg>
</condition>

Excerpt
hiddentrue

Condition to block a Transition depending on Status of Linked Issue.

 

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
titleUseful hint

See also ...