Automatically Close Parent Issue when all Subtasks are Closed

Issue #171 resolved
Alex Augusto 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


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