Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can prevent the Jira issue from transition to the next state if not all Smart Checklist items are checked.

...

Set up transition validator

  1. Go to Workflows

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

  3. Choose transition and click on "Validators" link

    1. Image Modified
  4. Add Validator

    1. Image Modified
  5. Choose "Smart Checklist Completed Validator"

    1. Image Modified
  6. Click Add - new Validator will be saved

  7. Then Publish this changed workflow

    1. Image Modified

Check Validator in action

  1. Go to Kanban board (or Issue view)

  2. Try to change the state of an item with opened checklist items

  3. You'll get the error:

    1. Image Modified
  4. If you check all Smart Checklist items - you'll be able to transition the Jira issue successfully!

Tip

If you want to know how to display "Show Checklist progress" on Agile boards read Progress on Agile Board

...

For any questions or feature requests contact us: smartchecklist@railsware.com
Code Block
def checklist = issue.get("customfield_10113");
if (!checklist) {
  return true;
}
def checklistItems = checklist.split('\n').findAll({ it -> it.matches("^[-|+|~].*")});
for (item in checklistItems) {
  if (!item.startsWith("+") && (item.contains("Code reviewed") || item.contains("Unit tests written and passing"))) {
	return false;
  }
}
return true;
Info

Insert excerpt
Get Started
Get Started
namesupport-email (checklist-server)
nopaneltrue