This function returns true only if the field has changed in the current transition.



The function hasChanged() is used when we set a validation that is incompatible with a condition in the same transition, typically when validating a value entered in the transition screen. When Jira evaluates the validations in a transition, it also re-evaluates the conditions, and if they are not satisfied an error message is shown and the transition is not executed.



hasChanged(textField) #Output: Boolean



Parser expressionDescription


hasChanged(%{issue.description})


This example returnsĀ true if the issue's description has changed during the current transition.



Parameters used in this function

ParameterInput (data type)Description
textField

Any given text field code.



This function returns a




Variant of number and date-time fields.


hasChanged(numberField) #Output: Boolean



Parser expressionDescription


hasChanged({issue.dueDate})


This example returnsĀ true if the issue's due date has changed during the current transition.



Parameters used in this function

ParameterInput (data type)Description
numberField

Any given numeric field code.



This function returns a



Use cases and examples



Parser function cloud
Map(error)
NotesNot possible to access historic values in Jira Expressions.






Status
Tech review

Style guide




Short description

ReturnsĀ true only if the field has changed in the current transition.

Output

Available since

Label