Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=lastIssueChanges+-+15484103 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | lastIssueChanges(issueKey) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
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 from the selected issue's history. |
Returns the last changes details for all the fields touched by user (array of Predefined structure typesStructure Types) from the selected issue's history.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "issue_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|