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:
Key of the selected project.
The returned string represents the user key of the project lead.
//Project key of the current project is PRJ
//User name of the project manager is JohnSmith
PM = projectPM(project);
print("The project manager of " + project + " project is " + PM);
Result: The project manager of PRJ project is JohnSmith.