/
getIssueFieldNames

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

Related content

getIssueFieldNames
getIssueFieldNames
More like this
Jira Service Management Supported Fields
Jira Service Management Supported Fields
Read with this
getIssueFields
More like this
getIssueFields
Read with this
getIssueFieldNames
More like this
createIssue
Read with this