issueTypesForProject

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Ā !

Syntax

issueTypesForProject(projectKey)

Ā 

Availability

This routine is available starting with katl-commons 3.1.2/katl-commons 3.0.14.

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

Description

Retrieves the issue types for the project with the given key.

Parameters

Parameter name

Type

Required

Description

projectKey

String

Yes

Project key

Return type

string[]

The return value is a string array containing all the issue types available for the given project.

Example

Ā 

return issueTypesForProject("TST");

Result:Ā Improvement|Task|Sub-task|New Feature|Bug|Epic|Story|Symptom

See also