This function returns a text list of group names users are belonging to. You can specify user names, group names or role names.
Multiple items can be specified as a comma-separated list.
Bash
groupsUserBelongsTo(users) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns all groups b.smith belongs to, e.g.: jira-developers, jira-administrators |
|
Bash
|
This example returns all groups of all users that are member of the jira-administrators group, e.g.: jira-users, jira-administrators |
|
Bash
|
This example returns all groups of all users that are member of the Users project role, e.g.: jira-users, 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. |
Output
This function returns a text list
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|