Text field
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
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns true if the issue's description has changed during the current transition. |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Any given text field code. |
Output
This function returns a boolean
Number field
Variant of number and date-time fields.
hasChanged(numberField) #Output: Boolean
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns true if the issue's due date has changed during the current transition. |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Any given numeric field code. |
Output
This function returns a boolean
📚 Use cases and examples
| Use case | Workflow function | Field type | Automated action | Parser functions |
|---|