Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

Explore two use cases demonstrating how automation can be applied to checklist item statuses. These scenarios are just examples. Feel free to create rules based on your specific needs.

Use Case 1: Email Notification for Incomplete Checklist Items in Done Issues

If you want to receive automatic notification when an issue is moved to the Done status without all checklist items being completed.

How to Create Rule

  1. Select the Gear icon, and then select Issues.

  1. On the left-side menu, select Custom fields.

  1. In the search box, enter Closed checklist items.

In the search results, Closed checklist items will appear.

  1. On the left side of the page, select three dots.

  2. Hover the mouse over View field information, right-click, and then select Open link in new tab.

For future steps, you will need this custom field ID. Keep the page open to copy and paste the ID once you need it.

Image Removed

Closed checklist items ID.gifImage Added

  1. Go back Return to the Custom field page, and then repeat all steps for Total number of checklist items.

For future steps, you will need this custom field ID. Keep the page open to copy and paste the ID once you need it.

Image Removed

Total number of checklist items ID.gifImage Added

  1. Go back Return to your project, and then select Project settings.

Image Removed

Project settings.gifImage Added

  1. Select Automation.

Image RemovedAutomation.gifImage Added

  1. Select Create rule.

Image RemovedCreate rule.gifImage Added

  1. Select Issue triggers, and then select Issue transitioned.

Image RemovedIssue triggers.gifImage Added

  1. Select the required statuses, and then select Save Next.

Info

In our case, we selected the transition from the DONE and IN PROGRESS status statuses to the DONE status. For your rule, you may select any statuses you want.

Image RemovedSelect statuses.gifImage Added

  1. Select IF: Add a condition.

Image RemovedIF Add a condition.gifImage Added

  1. Select JQL condition.

Image RemovedJQL condition.gifImage Added

  1. Enter the following query, and then select Save:

cf[ID] != 0 AND cf[ID] != 0

where ID is a custom field ID you’ve got in steps 5 and 6of the Total number of checklist items field (step 6).

Info

In our case, the query looks like cf[1005310056] != 0 AND cf[10054] != 0. You have to enter your custom field IDs.

Image RemovedJQL and Next.gifImage Added

  1. Select IF: Add a condition, and then select Advanced compare .

IF Add a condition 2.gifImage Added

  1. Select {{smart values}} condition.

Image Removedsmart values.gifImage Added

  1. In the First value*

and the Second value fields
  1. field, enter the ID of the

following values respectively
  1. Total number checklist items field in the following format:

{{[customfield_ID]}} where ID is

  1. In the Second value field, enter the ID of the

Total number
  1. Closed checklist items field

, and
  1. in the following format:

{{[customfield_ID]}} where ID is the ID of the Closed checklist items field

  1. In the Condition field, select does not equal.

Info

In our case, the first value is {{[10054]}} and the second one is {{[10053]}}.

  1. In the Condition field, select equals.

  2. Select Save.

Image Removed

we’ve got the following condition:

{{customfield_10056}} does not equal {{customfield_10055}}.

  1. Select Next.

compare values.gifImage Added

  1. Select THEN: Add an action.

Image RemovedTHEN Add an action.gifImage Added

  1. Select Send email.

Info

Select any action you want to happen, when the rule is executed. In our case, it’s Send email.

Image RemovedSend email.gifImage Added

  1. In the To* field, select the recipient(s).

  2. In the Subject* field, enter the required email title.

Info

Your subject might be the following: Warning: The issue {{issue.key}} was moved to Done without completion.

You can come up with any subject you’d like.

  1. In the Content* field, enter a short message.

Info

Your message might be the following: Please note that the issue {{issue.key}} has been moved to the Done status, even though not all checklist items are completed.

You can come up with any message you’d like.

  1. Select Next.

Configure email settings.gifImage Added

  1. Select

Save
  1. Turn on rule.

Image RemovedTurn on rule.gifImage Added

  1. Select the name for your rule, and then enter it into the corresponding field.

  2. Select who can edit this rule, and then select Turn

it
  1. on rule.

Image RemovedRule name.gifImage Added

Tip

Your rule has been turned onenabled.

Image RemovedEnabled.gifImage Added

Use Case 2: Mark Issues as Done When All Checklist Items Are Completed

If you want an issue to be automatically moved to the Done status when all checklist items are completed.

How to Create Rule

  1. Select the Gear icon, and then select Issues.

  1. On the left-side menu, select Custom fields.

  1. In the search box, enter Closed checklist item.

In the search results, Closed checklist item will appear.

  1. On the left side of the page, select three dots.

  2. Hover the mouse over View field information, right-click, and then select Open link in new tab.

For future steps, you will need this custom field ID. Keep the page open to copy and paste the ID once you need it.

Image RemovedClosed checklist items ID.gifImage Added

  1. Go back Return to the Custom field page, and then repeat all steps for Total number of checklist items.

For future steps, you will need this custom field ID. Keep the page open to copy and paste the ID once you need it.

Image RemovedTotal number of checklist items ID.gifImage Added

  1. Go back Return to your project, and then select Project settings.

Image Removed

Project settings.gifImage Added

  1. Select Automation.

Image RemovedAutomation.gifImage Added

  1. Select Create rule.

Image RemovedCreate rule.gifImage Added

  1. Select Issue triggers, and then select Issue updated.

Image Removed

Issue updated.gifImage Added

  1. Select Save Next.

Image RemovedIssue updated - Next.gifImage Added

  1. Select IF: Add a condition.

Image RemovedIF Add a condition 2 (1).gifImage Added

  1. Select JQL condition.

Image RemovedJQL condition 2.gifImage Added

  1. Enter the following query, and then select Save:

cf[ID] != 0 AND cf[ID] != 0

where ID is a custom field ID you’ve got in steps 5 and 6.

Info

In our case, the query looks like cf[10053] != 0 AND cf[10054] != 0. You have to enter your custom field IDs.

JQL and Next 2.gifImage Added

  1. Select IF: Add a condition.

Image RemovedIF Add a condition 2_1.gifImage Added

  1. Select

Advanced compare
  1. {{smart values}} condition.

Image Removedsmart values 2.gifImage Added

  1. In the

Firs
  1. First value* and the Second value fields, enter the following values respectively:

{{[customfield_ID]}} where ID is the ID of the Total number checklist items field, and

{{[customfield_ID]}} where ID is the ID of the Closed checklist items field.

  1. In the Condition field, select equals.

Info

In our case, the first value condition is the following: {{[10054]customfield_10056}} and the second one is equals {{[10053]customfield_10055}}.

  1. In the Condition field, select equals.

  2. Select SaveSelect Next.

Image Removedsmart values and Next 2.gifImage Added

  1. Select THEN: Add an action.

Image RemovedTHEN Add an action 2.gifImage Added

  1. Select Transition issue.

Image RemovedTransition issue.gifImage Added

  1. In the Destination status field, select DONE, and then select Save Next.

Done and Next.gifImage Added

  1. Select Turn on rule.

Image RemovedTurn on rule 2.gifImage Added

  1. Select the name for your rule, and then enter it into the corresponding field.

  2. Select who can edit this rule, and then select Turn

it
  1. on rule.

Image RemovedConfigure rule 1.gifImage Added

Tip

Your rule has been turned onenabled.

Image Removed

Enabled 2.gifImage Added