Linked Issues Status Condition

Are you using JMWE for Jira Server and Data Center and want to learn how to use this condition? Head to our documentation here.

To add 'Linked Issues Status Condition' to a transition:

  1. Click Edit for the workflow that has the transition you wish to configure the condition on.

  2. In the Workflow Designer, select the transition.

  3. Click Conditions in the properties panel.

  4. Click Add condition.

  5. Select Linked Issues Status Condition from the list of conditions.

  6. Click Add to navigate to the Linked Issues Condition screen where you can configure the validator as needed. See configuration details here.

  7. Click Add to add the condition to the transition.

Common mistakes while using this condition:

Other related articles

When you add this condition to a transition, the add-on checks the Status of the current issue's linked issues. If the linked issues of the specified issue link type and issue type respect the conditions specified against selected statuses, then the transition is available to the user. If not, the transition is hidden.

The list of statuses that is displayed under the Statuses field has all the statuses across different workflows. This is because the workflow of an issue and that of its linked issues can be different.

Configuration details

Configure the following:

  • Issue Link Type (mandatory): Select the issue link type that links the current issue to the linked issues to check the specified condition against. Leave "Any (default option)" for no restrictions.

  • Mode (mandatory): Select one of the following conditions the linked issue(s) must satisfy for the transition to be enabled:

    • All issues must be in the selected statuses below (default option)

    • At least one issue must be in one of the selected statuses below

    • No issue must be in one of the selected statuses below

    • At least one issue must not be in one of the selected statuses below

  • Issue Type (mandatory): Select the issue type of the linked issue(s) to check the specified condition against. Leave "Any (default option)" for no restrictions.

  • Statuses (mandatory): Select one or more statuses from the available list to check the specified condition against.

Use case

A typical use of this workflow condition is to hide the transition on the current issue until all its linked issues are in a specific status. Consider a use where you want to hide the “Close” transition on the parent until all its subtasks are closed. To configure it:

  1. Add the “Linked Issues Status Condition” to the “Close” transition of the workflow

  2. Select the “Issue Link Type” as “is Parent of”

  3. Select “Close” status under “Statuses”

  4. Save the condition

  5. Publish the workflow

See https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/1004961816#Usecasesforconditions-LinkedIssuesStatusCondition for more use cases