Project role
This function returns a list of all user names of active users that are members of a given project role in the current issue's project.
Multiple project roles can be specified in a comma-separated list of project role names, returning members of all specified project roles.
usersInRole(projectRole) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a comma-separated list of all members of the Developers project role in the current issue's project, e.g.: admin.istrator, b.smith, a.grant To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid project role name. Multiple project roles can be specified in a comma-separated list of project role names. |
Output
This function returns a text list
Project key
Variant where you can additionally define a specific project key.
usersInRole(projectRole, projectKey) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a comma-separated list of all members of the Developers project role in the CRM project, e.g.: admin.istrator, b.smith, a.grant To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Text containing a valid project role name. Multiple project roles can be specified in a comma-separated list of project role names. |
|
|
text |
Text containing a valid project key. |
Output
This function returns a text list
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|