This condition evaluates the project role membership of a user or multiple users stored in a custom field or a system field.
⚒️ Configuration
Source field
Select the field containing the users that should be checked.
When a Group Picker (single or multiple groups) is selected, all users in the group(s) are evaluated.
Mode
Further refine the project role membership using the following options:
-
All users in field are at least in one of the selected project roles
-
All users in field are at least in each of the selected project roles
-
All users in field are at least out of one in the selected project roles
-
All users in field are in none of the selected projects
-
At least one user in field is at least in one of the selected project roles
-
At least one user in field is in each of the selected project roles
-
At least one user in field is at least out of one of the selected project roles
-
At least one user in field is in none of the selected project roles
Project role
Select the project roles to be evaluated.
Additional options
Check Source field must not be empty if you want to ensure, that the source field must actually contain users. If the source field is empty the condition will fail.
If unchecked, the condition will pass, if the source field is empty and any of the "All users..." options is selected in the Mode parameter above.
If you want to use this functionality in a validator instead, have a look at the following validator: Users are/aren't in project role (validator)
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Parser functions | Label |
|---|---|---|---|---|
| Restrict the issue creation with specific issue types to certain project roles |
|
|
|
|
| Only users in a project role can execute a transition |
|
|
|