Info |
---|
Are you using JMWE for Jira Server and Data Center and want to learn how to use this validator? Head to our documentation here. |
To add 'Field Required' validator to a transition:
In Jira Administration, go to Workflows and click the Edit link to open the workflow.
Select the required transition.
Select the Validators tab and click Add validator.
Select Field Required Validator from the list of validators.
6. Add a message in the Error message field to customize the error that is displayed to the user.
7. Click Add to add the validator to the transition.
Note |
---|
On the Service Management portal view of a request, the customer will not see the |
Add the Field Required Validator to the “Send for Approval” transition.
Select the Approvers field and configure an error message, if necessary.
Save the validator.
Related links :
Validator Scope
Check the Ignore Scope option if the validation should only occur in certain cases. Examples include if the issue is of a certain issue type, has certain field values, or more generally satisfies an arbitrary Jira expression.
Use case
A typical use of this workflow validator is to validate that the field of the issue has a value during the transition. Consider a use case where you want to check that the “Approvers” field is not empty when sending the ticket for approvals. To configure this: