Using well-organized and properly maintained checklists in Jira issues can help your team tremendously in its struggles to manage and distribute tasks effectively. As with everything in this prone-to-forgetting universe, some crucial tasks that must be completed before marking a given issue as "Done" will be forgotten once in a while. As you probably know, even the most detailed and thought-out plan means little until it’s actually executed.
With this guide, you will hopefully avoid such a dark fate. It explains how to use the Jira issue transition validator, delivered with Multiple Checklists for Jira. Validator ensures that nobody will be able to move an issue to a selected status unless all the checklists' items are complete.
The solution described below is available only in company-managed projects. Moreover, only the Jira project administrators are able to change workflow configuration and therefore add issue transition validators. If your project is company-managed and you have the necessary permissions, you can find the workflow configuration page in the project settings on the left-hand menu. Go there and click the pencil icon next to the workflow scheme assigned to your project and issue types you want to configure validators for.
Issue transitions are represented by arrows from one ticket status to another. For example, you can have a transition from the “To Do” status to “Done”, as well as a transition from the “In Progress” status to “Done”. Once you have clicked on the transition you want to add validation for, click on the “Validators”.
From the list of all available validators, select the “All checklist items are checked”. Once you click “Add” you will be asked to enter the name of a checklist that you want this validator to be applied to. You can also leave this field empty - in that case the validator will be applied to all checklists.
Make sure to repeat the above steps for all of the transitions that are meant to be protected. If there are multiple transitions that lead to the “Done” status, and you want to make sure that no issue is moved to “Done” if checklist items are not completed, you should configure the validation for each of those transitions.
Once you have added the checklist validators to all of the transitions you wanted to, one step that remains is to publish the workflow scheme. To do so, click on the “Publish Draft” above the workflow diagram.
Once the adjusted workflow is published, the transitions that had the validator added will not be possible until all checklist items are marked as completed. This won’t affect issues that don’t have any checklists added or that don’t use checklists. Try it out yourself! Add a checklist with some items, and try to move an issue through a transition that is protected with a validator.
Multiple Checklists for Jira are available on the Atlassian Marketplace for both Jira Cloud and Jira Data Center. You can also consult our documentation in case of any problems.
Sebastian Brudziński
Head of Products
SolDevelo
Gdynia, Poland
15 accepted answers
4 comments