Skip to end of metadata
Go to start of metadata

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