Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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 !


Info
titleAvailability

This routine is available starting with katl-commons 2.5.15 / 2.6.7.

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


Syntax

getIssueFields(issueKey)

...

Excerpt

Returns a map with all standard and custom fields of an issue. The map contains pairs of field name and field values.

Parameters

Parameter name

Type

Required

Description

issueKey

string

Yes

the key

Key of the selected issue.

getNullFieldsbooleanNo
flag
Flag 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).

...

We can use the routine to partially clone an issue , by copying only some of the fields from the original issue:

...