I'm using Automation add-on in Jira and I would like to update the status of Parent task if all sub-tasks are all done.
Currently I have this automation workflow
I'm getting this error message when I'm moved all sub-tasks to Done. There's no transitions specified
My expectation is when I move all sub-tasks to done then the parent issue should also be done. Here are the issues in Kanban Board
Found out the root cause. It's because I'm using the same workflow for Tasks and SubTasks
I created another workflow which for Tasks which transition from Open to Done. This is different from SubTasks workflow which transitions from Open -> In Progress -> Needs Review -> Done
Hi @Allen Chun
Because you have a trigger "Issue transitioned" which doesn't happend with parent ticket, only with sub-tasks.
You should change the trigger to another. For example to "When: Scheduled", set some interval and add additional JQL, like:
project = YourProject AND issuetype = YouParentIssueType AND status != Closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry @Gregor Kasmann_Actonic I still cannot get what you meant. I updated the screenshot of automation workflow.
So basically here's what happen.
1) WHEN issue is transitioning
2) IF check if the status is DONE
3) FOR PARENT
3.1) IF parent issue is not equal to Done
3.2) AND IF sub tasks under this parent is Done
3.3) THEN transition the parent issue to Done
but I tried moving subtasks to done but the parent issue is still not done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.