Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

lastIssueChanges(issueKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

This routine is available starting with katl-commons 4.0.0. This routine is available for Jira server and cloud deployment options.

Returns the last changes details for all the fields touched by user (array of Predefined Structure Types) from the selected issue's history.

...

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

Parameter name

Type

Required

Description

issue key

String

Yes

Key of the selected issue.

Return Type

JFieldChange []

The return value is an array of structures documenting what the user has changed on the issue.

Example

Code Block
JFieldChange  [] changes = lastIssueChanges("TEST-10");
for(number i = 0; i < size(changes); i++) {
    runnerLog("U:" + changes[i].user + " Field:" + changes[i].field + " Val:" + changes[i].oldVal + " -> " + changes[i].newVal);
}

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "issue_routine" and space = currentSpace ( )
labelsarray_routines