Use Cases for Validators
This section has use cases that help you in understanding the usage of Validators provided by JMWE.
On this page:
Build-your-own (scripted) Validator
This validator can be used to perform validation with a Jira expression. Based on the result of the expression, the user is either allowed or blocked to transition to the destination status.
Sample use cases:
Prevent the employee from applying for a leave if the employee is in the 3 month probation period
Force users to select both the parent and child values for a cascading select field
Field required Validator
This validator can be used to conditionally perform a validation to ensure that the specified field has a value during a transition.
Sample use cases:
Force users to provide Fix Version/s only when the resolution is Fixed
Prevent the user from progressing on the Bug it is not assigned
Linked Issue(s) validator
This validator can be used to ensure that issues linked to the current issue have certain characteristics
Sample use cases:
Prevent creation of more than 5 subtasks for a parent issue of "Story" issue type
Linked Issues Status validator
This validator can be used to ensure that the current issue's linked issues are in one of the selected statuses.
Sample use cases: