getIssueFieldNames

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 3.0.8.

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


Syntax

getIssueFieldNames(issueKey)

or

getIssueFieldNames(issueKey, getNullFields) 

Description

Returns a list with the names of all standard and custom fields of an issue.

Parameters

Parameter name

Type

Required

Description

issueKey

string

Yes

Key of the selected issue.

getNullFieldsbooleanNoFlag for specifying whether the fields with null values should be retrieved too. If not specified, it defaults to "false".

Return type

string []

The return value is a string array containing all fields values for the selected issue. Each value can be retrieved from the array by key (the field id).

Example

string[] fields = getIssueFieldNames("DEMO-1");
return fields;

See also