Automatically Close Parent Issue when all Subtasks are Closed

Issue #171 resolved
AlexA created an issue

I have a doubt:

Only STATUS tasks: "CLOSED" are accepted,

As you would if you accept the subtasks were in status: CLOSED and also CANCELLED?

Code: Setting rule used is: [count(subtasks(%{00041}))-1=count(filterByStatus(subtasks(%{00041}), "Closed"))]Close Issue

Reference: https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/amazing/Close%20Parent%20when%20Subtasks%20are%20Closed

Comments (4)

  1. Fidel Castro Armario repo owner

    Hi Augusto,

    Simply use "Closed, Cancelled" as argument of function filterByStatus.

    Setting rule:

    [count(subtasks(%{00041}))-1=count(filterByStatus(subtasks(%{00041}), "Closed, Cancelled"))]Close Issue
    
  2. Log in to comment