Skip to end of metadata
Go to start of metadata

The availability of the users personal data may be impacted by the recent changes by Atlassian in order to meet GDPR compliance. See the following for more information:

Availability

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

Syntax

projectPM(project)

Description

Returns the user key of the project manager (project lead) of the selected project, if exists.

Parameters

Parameter name

Type

Required

Description

Project key

String

Yes

Key of the selected project.

Return type

string

The returned string represents the user key of the project lead.

Example

//Project key of the current project is PRJ
//User name of the project manager is JohnSmith
string PM;
PM = projectPM(project);
print("The project manager of " + project + " project is " + PM);

Result: The project manager of PRJ project is JohnSmith.

See also