Skip to end of banner
Go to start of banner

projectMembers

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

  • No labels