Notes
-
This rule will check combined progress of both Local and Global Checklists.
-
If you are using this rule in a team-managed space, you first need to add the Checklist Progress and Checklist Progress % custom fields to the space. To add the fields to a space:
-
Navigate to Space 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 spaces. 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
-
Ensure that the Jira space has the Checklist Progress and Checklist Progress % fields.
-
Navigate to Space 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.0as 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.