projectMembers
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Ā !
Availability
This routine is available starting with katl-commons 1.0.
This routine is available for Jira server and cloud deployment options.Ā
Syntax
projectMembers(project)
Description
Returns a list with all the user keys of the users who have a role in the specified project.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
project key | String | Yes | Key of the project that is selected. |
Return type
string []
The return value is a list of user keys for the users who have a role on the specified project.
Example
//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