User in Roles Precondition

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

Description

The User in Roles precondition verifies that the current user is in at least one of the specified project roles.
There is a User Is In Role condition in Jira, that only lets you verify the membership of the user against a single project role.

Configuration

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

Example of User In Roles precondition as described on this page.

Example

A workflow is configured so that the 'Resolve' transition has the 'User in Roles' check. If the executing user is an administrator, all subtasks will be closed as well.

Supported field types