Workflow Conditions

User Is 'In Any/Not In' Project Roles

The User Is 'In Any/Not In' Project Roles will verify that the current user is in or is not in any selected of the specified project roles. 

Example:

A workflow is configured, so that the Done transition has the User Is 'In Any/Not In' Project and configuration:

  1. User IN ANY project roles: Administrators - a user viewing an issue in that workflow will not see the Done transition unless they are part of the Administrators role (and others if they are set)

  2. User NOT IN project roles: Administrators - a user viewing an issue in that workflow will not see the Done transition unless they are not part of the Administrators role (and others if they are set)

 


User Is 'In Any/Not In' Groups

The User Is 'In Any/Not In' Group will verify that the current user is in or is not in any selected of the specified groups. 

Example:

A workflow is configured, so that the Done transition has the User Is 'In Any/Not In' Group and configuration:

  1. User IN ANY groups: jira-administrators - a user viewing an issue in that workflow will not see the Done transition unless they are part of the jira-administrators group (and others if they are set)

  2. User NOT IN groups: jira-administrators - a user viewing an issue in that workflow will not see the Done transition unless they are not part of the jira-administrators group (and others if they are set)

 


User Is 'In Any/Not In' Custom Fields

The User Is 'In Any/Not In' Custom Fields will verify that the current user is in or is not in any selected of the specified custom fields. 

Example:

A workflow is configured, so that the Done transition has the User Is 'In Any/Not In' Custom Fields and configuration:

  1. User IN ANY custom fields: Winners - a user viewing an issue in that workflow will not see the Done transition unless they are part of the Winners custom field (and others if they are set)

  2. User NOT IN custom fields: Winners - a user viewing an issue in that workflow will not see the Done transition unless they are not part of the Winners custom field (and others if they are set)

 


Issue Is 'In Any/Not In' Statuses

The User Is 'In Any/Not In' Statuses will verify that the selected issue is in or is not in any elected of the specified statuses. 

Example:

A workflow is configured so that the IN PROGRESS transition has the User Is 'In Any/Not In' Statuses and configuration:

  1. Issue IN ANY statuses: TO DO - a user viewing an issue in that workflow will see this transition only if the issue is in TO DO status (and others if they are set)

  2. Issue NOT IN statuses: TO DO - a user viewing an issue in that workflow will not see this transition if the issue is in TO DO status (and others if they are set)

 


Issue Is 'In Any/Not In' Issue Types

The User Is 'In Any/Not In' Issue Types will verify that the selected issue is in or is not in any selected of the specified issue types. 

Example:

A workflow is configured, so that the IN PROGRESS transition has the User Is 'In Any/Not In' Issue Types and configuration:

  1. Issue IN ANY issue types: BUG - a user viewing an issue in that workflow will see this transition only if the issue is in BUG issue type (and others if they are set)

  2. Issue NOT IN issue types: BUG - a user viewing an issue in that workflow will not see this transition if the issue is in BUG issue type (and others if they are set)

 


Issue Is 'In Any/Not In' Status Categories

The User Is 'In Any/Not In' Status Categories will verify that the current user is in or is not in any selected of the specified status categories.

Example:

A workflow is configured so that the IN PROGRESS transition has the User Is 'In Any/Not In' Status Categories and configuration:

  1. Issue IN ANY status categories: New - a user viewing an issue in that workflow will see this transition only if the issue is in New status categories  (and others if they are set)

  2. Issue NOT IN status categories: New - a user viewing an issue in that workflow will not see this transition if the issue is in New status categories (and others if they are set)

New - BLUE 

In progress - TO DO 

Complete - Done 

 


Mathematical Condition

Check if the mathematical expression is true (result must be true or 1) 

 


Hide the Transition From the Issue View

Hide the transition from issue view (you can trigger this transition programmatically or from other workflow functions)

 


Add Notes

How many times do you create the conditions, and, after some time, you do not remember why you configured them that way?

From now on, you can add notes to the conditions in which you can write an additional comment for yourself or for your team explaining the configuration.

The Add Notes condition always evaluate as true

 


User Property Condition

Check the value of a user property

 


Run the Condition Template

Run and reuse predefined templates with one or more functions

 


Previous Status

Check if the issue has been (or not) through a specific status sometime before the transition.

 


Current User Condition

Check whether the current user is the specified user

 


Limit the Number Of Transition Executions

The condition allows you to limit how many times this transition can be performed.

 


JQL Condition

Allows the transition if the current issue matches the provided JQL query.

 


Availability

Available since v. 1.23.*

  • User Is 'In Any/Not In' Project Roles

  • User Is 'In Any/Not In' Groups

  • User Is 'In Any/Not In' Custom Fields

  • Issue Is 'In Any/Not In' Statuses

  • Issue Is 'In Any/Not In' Status Categories

Available since v. 1.24.*

  • Hide the Transition From the Issue View

  • Add Notes

Available since v. 1.26.*

  • Issue Is In Any/Not In Issue Types 

  • Mathematical Condition

Available since v. 1.37.*

  • User Property Condition

Available since v. 1.41.*

  • Run the Condition Template

Available since v. 2.2.*

  • Previous Status

Available since v. 2.7.*

  • Current User Condition

Available since v. 5.7.*

  • Limit the Number Of Transition Executions

Available since v. 5.21.*

  • JQL Condition