Validate Mandatory Items Completion before Transition
๐ Pro Feature โ How to Upgrade from Free to Pro Plan
Prevent the Jira issue from transitioning to the next state if any mandatory checklist items remain unchecked/uncompleted ๐
Jira permissions needed: grant users Jira administrators global permissions to validate mandatory items completion before transition
ย
You can prevent the Jira issue from transitioning to the next state if some mandatory checklist items remain unchecked/uncompleted.
Here is an example of default and custom statuses created on the Cloud instance:
ย
ย
Statuses for
unchecked/uncompleted items
Statuses for
checked /completed items
ย
You can do this by adding a corresponding validator to your workflow transition.
Set up a transition validator:
Go to Project Settings โ โWorkflows".
Choose the workflow that you want to add validation to and click Edit.
Choose transition and click on the "Validators" link:
ย
Add Validator:
ย
Choose "Mandatory items completed (Smart Checklist)":
ย
Click Add -ย the new Validator will be saved:ย
Publish the changed workflow:
Check Validator in action:
Open the issue where you want to change the status.
Add Smart Checklist mandatory items to the issue. Follow the steps from Mandatory Items to do it.
Try to change the state of an issue with open mandatory checklist items (any items in status Todo, In progress, and any other not checked custom status) to
Done (or any other issue status for which you add the validator)
.You'll get the Transition failed error:
ย
If you complete all Smart Checklist mandatory items - you'll be able to transition the Jira issue successfully.
Enjoy ๐
ย