Hi! How are you? Please, i need your help to fix an issue.
We`ve created an automation rule for an isse type "Service request"; the ticket parent has 2 sub-task and it should change the status (from In Progress to Resolve) just when the subtasks have been completed, but it is not working.
I Attach image with the automation rule.
Hi Leonardo,
I see that you are wanting to use automation to transition a parent issue when both of it's subtasks are transitioned to a completed status. Your screenshot looks to be close to the solution, but I think you might be missing a conditional check here. I created a similar rule in my own test site which looks like this:
This is a project rule, that runs anytime any issue is transitioned to done or resolved. However there is a first a condition check to see if a parent issue exists. If it does, then the branch rule (in purple), makes an additional JQL check to make sure that all subtasks of that parent are currently in a status such as Done or Resolved. If that's true, only then will the parent transition it's status to done as well.
I tested this on an issue with exactly two subtasks and it worked as I expected. It only transitioned the parent once both subtasks were completed.
Try that and let me know if this helps.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.