Info |
---|
|
This routine is available starting with katl-commons 1.0.
This routine is available for Jira server and cloud deployment options. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | projectMembers(project) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns a list with all the user keys of the users who have a role in the specified project. |
Returns a list with all the user keys of the users who have a role in the specified project.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
project key | String | Yes | Key of the project that is selected. | |
Return
...
Type
string String []
The return value is a list of user keys for the users who have a role on the specified project.
...
Code Block |
---|
//The current project key = PRJ1
//The users from the current project: Admin, Dev1, Dev2, Dev3, Test1, Test2, PM, BA1
print("The members of the project " + project + " are:");
print(projectMembers(project));
|
Result: Returns the following text: The members of the project PRJ1 are: Admin, Dev1, Dev2, Dev3, Test1, Test2, PM, BA1. Check the values on the next row beginning with <StringPrintRoutine>.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jira_project_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_project_routineroutines |
---|
|