Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

Availability

  • This routine is available starting with katl-commons 1.0 .
  • This routine is available for Jira server and cloud deployment options.

Syntax

getTeamLeaders(project)

Description

Returns the team leaders user keys on the specified project. All the component leads.

Parameters

Parameter name

Type

Required

Description

project key

String

Yes

Key of the selected project.

Return type

string []

Returns a list of all the component leads from all the components in the specified project.

Example

//team leaders of the current project are TL1, TL2
string[] team_leaders;
team_leaders = getTeamLeaders(project);

Result: |TL1|TL2|

See also