Validate Checklist Complete - Team Managed Projects
Notes
This rule will check combined progress of both Local and Global Checklists.
If you are using this rule in a team-managed project, you first need to add the Checklist Progress and Checklist Progress % custom fields to the project. To add the fields to a project:
Navigate to Project settings > Fields.
Click Add field.
Select the Checklist Progress and Checklist Progress %.
Click Add 2 fields.
Modifications
This example was created as an alternative to the ensure all checklist items complete validator, which is not currently available for Team-managed projects. As an alternative, you can modify the rule to run on a schedule and check if any work items have been closed without the checklist being complete.
Reopen work item If Checklist is Incomplete
Navigate to Project Settings > Automation (or Jira Settings > System > Automation rules).
Click Create rule.
Select the work item transitioned trigger, and Done as the To status. Click Next.
Click New condition and select Advanced compare condition.
Put
{{issue.checklist Progress}}
as the First value; does not equal as the Condition; and Empty as the Second value. This will ensure that the rule is only applied to work items that have checklists. Click Next.Click New condition and select Advanced compare condition.
Put
{{issue.checklist Progress %}}
as the First value; does not equal as the Condition; and100.0
as the Second value. This will check for work items where the checklist is incomplete. Click Next.Select New action and Transition work item. Select the appropriate status and click Next.
Name the rule and click Turn it on.
Tip: You may also want to additional steps to the clear the Resolution and comment as to why the work item was reopened.