/
Validate Mandatory Items Completion before Transition

Validate Mandatory Items Completion before Transition

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 setup validator of 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:

image-20240129-122408.png

Β 

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:

  1. Go to Project Settings β†’ β€œWorkflows".

  2. Choose the workflow that you want to add validation to and click Edit.

  3. Choose transition and click on the "Validators" link:

    image-20231229-150931.png

    Β 

  4. Add Validator:

    Β 

  5. Choose "Smart Checklist Mandatory Validator":

    Β 

  6. Click Add -Β  the new Validator will be saved:Β 

  7. Publish the changed workflow:


Check Validator in action:

  1. Open the issue where you want to change the status.

  2. Add Smart Checklist mandatory items to the issue. Follow the steps from Mandatory items testarchived to do it.

  3. 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).

  4. You'll get the Transition failed error:

  5. If you complete all Smart Checklist mandatory items - you'll be able to transition the Jira issue successfully.

  6. Enjoy πŸš€

Β 

Β 

Related content

Custom Field vs Issue Properties
Custom Field vs Issue Properties
Read with this
Validate Mandatory Items Completion before Transition
Validate Mandatory Items Completion before Transition
Read with this
"Smart Checklist Progress" Custom Field set up
"Smart Checklist Progress" Custom Field set up
Read with this
Next-Gen Project Specifics
Next-Gen Project Specifics
Read with this
Export Issues with Checklists (to CSV, RSS, XML, Word)
Export Issues with Checklists (to CSV, RSS, XML, Word)
Read with this
Cloud vs Server & Data Center Comparison for Smart Checklist
Cloud vs Server & Data Center Comparison for Smart Checklist
Read with this