This function checks if a user or group of users are members of a group.
Multiple user names can also be provided in a comma-separated list of user names, group names or role names. In that case, the function will return true only if all users in the list, groups of the list, and in the roles of the list, are in the given project role for the current project.
Bash
isInGroup(users, group) #Output: Boolean
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
The function returns true if the assignee is in group jira-developers. |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid user, group or project role name. |
|
|
text |
Text containing a valid Jira group. |
Output
This function returns a boolean
📚 Use cases and examples
| Use case | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|
| Set the calculated field's visibility in function of the username, role or group | ||||
| Triage issues created by email | ||||
| Assign issues to your team during a transition |