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

When to use this function?

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.

Syntax
hasChanged(textField) #Output: Boolean
Examples
Parser expressionDescription
hasChanged(%{issue.description})
This example returns true if the issue's description has changed during the current transition.
Additional information

Parameters used in this function

ParameterInput (data type)Description
textField

TEXT

Any given text field code.

Output

This function returns a BOOLEAN


Variant of number and date-time fields.

Syntax
hasChanged(numberField) #Output: Boolean
Examples
Parser expressionDescription
hasChanged({issue.dueDate})
This example returns true if the issue's due date has changed during the current transition.
Additional information

Parameters used in this function

ParameterInput (data type)Description
numberField

TEXT

Any given numeric field code.
Output

This function returns a BOOLEAN


Use cases and examples