This routine is available starting with katl-commons 1.0.
Starting with version 4.0.0, the second parameter can be custom field id.
This routine is available for Jira server and cloud deployment options.
DescriptionReturns all the pairs date + value for the selected field from the selected issue's history.
Key of the selected issue.
field name or id
Name or the id of the selected field.
The return value is an array of strings. The strings come in pairs. The first value is a date representing the time when the value was modified and the second value is the content of the requested field at that date.
- Besides the labels of the custom fields, the name of the standard Jira fields (summary, assignee, and so on) can be used as parameters.
- If it returns an empty array, you must get the last value of the field from the issue.
- The second parameter is the field name as it appears in history or the custom field id.