You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

This function returns a number list with all the values that a numeric or date-time field has ever had in the past for current issue.

Values appear in the list in ascending ordered by setting time, i.e., older value has index 1, and most recent value has index count(number_list) . Uninitialized field statuses are not represented.

Syntax
fieldHistory(numberField) #Output: Number list
Examples
Parser expressionDescription
fieldHistory({issue.duedate})

This example returns a list of all due dates that every have been set in the current issue.

Additional information

Parameters used in this function

ParameterInput (data type)Description
numberField

TEXT

Any given number field.
Output

This function returns a NUMBER LIST


Variant for text fields.

Syntax
fieldHistory(textField) #Output: Text list
Examples
Parser expressionDescription
fieldHistory(%{issue.summary})

This example returns a list of all summaries that every have been set in the current issue.

Additional information

Parameters used in this function

ParameterInput (data type)Description
textField

TEXT

Any given text field.
Output

This function returns a TEXT LIST


Variant for cascading or multi-cascading fields.

You can select the cascading level with .i after the field code where i = 0 is the root level.

Syntax
fieldHistory(cascadingField) #Output: Text list
Examples
Parser expressionDescription
fieldHistory(%{issue.cf10521.1})

This example returns a list of all values that have been set on the first level of the cascading field Hardware Component.

Additional information

Parameters used in this function

ParameterInput (data type)Description
cascadingField

TEXT

Any given cascading/ multi-cascading field.
Output

This function returns a TEXT LIST