getProjectKeyByName
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center?Ā Click hereĀ !
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