Versions Compared

Key

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

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.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getIssueFields(issueKey[, getNullFields])

Package

or

...

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns a map with all standard and custom fields of an issue.

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

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

issueKey

...

String

Yes

Key of the selected issue.

getNullFields

...

Boolean

No

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

Return

...

Type

string 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).

...

Examples

Example 1

Code Block
string[] fields = getIssueFields("DEMO-1");
return fields["summary"];

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jira_fieldcustomfield_routine" and space = currentSpace ( )
labelsjira_field_routine
 
array_routines