Skip to end of banner
Go to start of banner

getProjectKeyByName

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

« Previous Version 9 Next »

Availability

This routine is available starting with katl-commons 2.5.13 / 2.6.5.

This routine is available for Jira server and cloud deployment options.

Description

Retrieves the key for the project with the given name.

Parameters

Parameter name

Type

Required

Description

projectName

String

Yes

Project name.

Return type

string

The return value is a string representing the project key.

Example

Project with key "DEMO" has the name "Demonstration Project".

return getProjectKeyByName("Demonstration Project");

Result: DEMO

See also

  • No labels