Versions Compared

Key

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

The JIRA Suite Utilities plugin provides three additional workflow conditions:

  • User Is In Any Groups
  • User Is In Any Roles (since version 1.4.8)
  • User Is In Custom field
  • Value Field

Please note, these conditions currently do not work well with labels.

For information on workflow conditions in JIRA, see the JIRA documentation.

Column
width400px
Panel

On this page:

Table of Contents
maxLevel2
minLevel2

User Is In Any Groups Condition

...

Description

...

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Server/Data Center

This is the documentation for JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see our JSU Cloud documentation.

Excerpt

Description

The 'User Is In Any Groups' condition

...

verifies that the current user is in one (not all) of the specified groups.

...

There is a 'User Is In Group' condition

...

included in Jira, however, this

...

only

...

verifies the membership of the user against a single group.

Configuration

You must specify the

...

‘allowed’ groups when configuring the

...

For information on how to configure a condition for a workflow transition in JIRA, see the JIRA documentation.

check, for example, jira-administrators.

Example configuration of the User Is In Group condition as described on this page.Image Added

Example

A workflow is configured so that the 'Resolve' transition has the 'User Is In Any Groups'

...

check = 'jira-

...

administrators' group only. A user viewing an issue in that workflow will not see the 'Resolve' transition unless they are part of the 'jira-

...

User Is In Any Roles Condition

...

Description

...

Adding the 'User Is In Any Roles' condition to a workflow transition means that a user cannot see that transition unless he is in one (not all) of the specified project roles.
Note, there is a 'User Is In Role' condition in standard JIRA. However, this condition only lets you check the membership of the user against a single proejct role.

...

Configuration

...

You must specify the roles that are the prerequisite for this transition, when configuring the condition. For example:

Image Removed

For information on how to configure a condition for a workflow transition in JIRA, see the JIRA documentation.

...

Example

...

A workflow is configured so that the 'Resolve' transition has the 'User Is In Any Roles' condition = 'SuperUser' project role only. A user viewing an issue in that workflow will not see the 'Resolve' transition unless he is having the 'SuperUser' project role.

User Is In Custom Field Condition

...

Description

...

Adding the 'User Is In Custom Field' condition to a workflow transition means that a user cannot see that transition unless they are (or are not) in the specified custom fields, (typically a multi select/user picker custom field) Note, this condition only applies to custom fields.

...

Configuration

...

You must specify the field that is the prerequisite for this transition, and whether the user must be in the custom field or not, when configuring the condition. For example:

Image Removed

For information on how to configure a condition for a workflow transition in JIRA, see the JIRA documentation.

...

Example

...

A workflow is configured so that the 'Close' transition has the 'User Is In Custom Field' condition where the user must be in the 'User Select' field. A user viewing an issue in that workflow will not see the 'Close' transition unless their username has been selected in the 'User Select' field.

Value Field Condition

...

Description

...

Adding the 'Value Field' condition to a workflow transition means that a user cannot see that transition unless a certain field is set to a specified value. The validation for the condition is able to compare strings, numbers or option id's. For select fields, you may compare either by string or option id, the latter may be better, as the label of an option may change over time, the id however does not.
If a field can have several values (like components), it is enough, if one of the values matches the condition.

Since version 1.4.10, date and date-time fields are also supported.

...

Configuration

...

You must specify the field and value that will be the prerequisite for the condition. For example:
Image Removed
For information on how to configure a condition for a workflow transition in JIRA, see the JIRA documentation.

...

Example

...

A workflow is configured so that the 'Start Progress' transition has the 'Value Field' condition set to 'MultiSelect' = '10021' (option id). A user viewing an issue in that workflow will not see the 'Start Progress' transition unless 'MultiSelect' has at least the option with id '10021' choosen.

Supported Field Types

Include PageSupported Field TypesSupported Field Types

administrators' group.