Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™ 1.0. This routine is available for Jira server and cloud deployment options. |
Syntax
usersInRole(project, role)
...
Excerpt |
---|
Returns the users that corespond to a certain role on the specified project. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
Project key | String | Yes |
Key of the selected project. | ||
Role name | String | Yes |
Name of the role that is verified. |
Return type
string []
Returns a list with the usernames of the users who have the given role on the specified project.
...
Result:The following users have the role developer in the project PRJ: dev1, dev2, dev3 (. Check the next following row beginning with <StringPrintRoutine> for the values.)
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|