This validator checks if fields are set/empty or have/haven't changed on the transition screen.
Select the field to be checked, and in a subsequent step the desired behavior. The following options are available:
|is required||The specified field must have a value. If no value is present, the condition will fail.|
|must be empty||The specified field must not have a value. If a value is present, the condition will fail.|
|must be changed||The specified field must have been updated during the transition / on the transition screen.|
|must not be changed||The specified field must not have been updated during the transition / on the transition screen.|
You can select all fields provided by the Jira expression type Issue via the field code injector.
Enter the message to show to the end-user when the validation fails. If you don't enter a message, the default error Message for JWT for Jira Cloud "Validation failed for validator 'Fields required or changed (JWT)'" is displayed in case the validation fails.
If you want to use this functionality in a condition instead, have a look at the following condition: Fields required
Use cases and examples
|Use case||Type||Function||Use case description||Complexity|
|Check for at least one component|
Require a at least one component.
|Make a fix version required and add a comment|
Require a fix version and add a comment.
This use case is valid for validators.
|Make the assignee required|
Require a non empty assignee.
|Resolution must be empty|
Not allow a resolution to be set.