Versions Compared

Key

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

...

Info

In this guide, we will transition the issue back to Open In Progress status when any checklist item becomes uncompleted

You can also close the issue in a similar way if the checklist becomes completed.

...

  1. Go to Automation listing page (it is either Project settings > Project automation or Jira Settings > System > Automation rules) and press Create rule button:



  2. On the New trigger page select Field value changed option:



  3. On the Field value changed page select Checklist Text (Field) in the first list and next select Edit issue in the second list and press Save button:



  4. On the Add condition page select New condition option:



  5. On the New condition page select Advanced compare condition select Issue fields condition option:
    Image Removed
    Image Added

  6. On the Compare condition page paste {{issue.properties.checklist.completed}} into the first field, select equals value from the combo list, and paste false value in the second fieldIssue fields condition page paste select "Checklist Completed" from the list of fields, "equals" in the condition dropdown, and "Not Completed" in the value dropdown. Next, press Save button:
    Image Removed
    Image Added

    Hint: Please note that adding a new item to the already completed checklist, will make the checklist uncompleted. 
    Hint 2: issue.properties.checklist.* values used in this example are issue entity properties set by the Issue Checklist.

  7. On the New component page select New action option:
    Image Removed
    Image Added

  8. On the New action page select Transition issue option:
    Image Removed
    Image Added

  9. On the Transition issue page select desired transition status, e.g. Open, BacklogIn Progress or any other status that you want, and press Save button:
    Image Removed
    Image Added

  10. On the next page, add a name/description to the automation rule and press Turn it on button:

    Image Added

  11. Test your setup and enjoy: 
    1. go to any issue page,
    2. add a checklist,
    3. complete the checklist (check all items)
    4. transition the issue to some other status than selected in this tutorial
    5. uncomplete checklist (open one item) and wait a moment (Automation needs time to process the data)
    6. Next, refresh the page and notice that issue is in the desired status (e.g.  Open or Backlog In Progress).

Info

Please note that the transition to Open or Backlog must be possible according to the workflow defined in the current project. Otherwise, the transition attempt will fail. 

...