Hi Team,
Please help me with the automation rule to transition the parent to done when all the child issues with label "Test" are moved to done.
there might be n number of child issues for a parent but when the all the child issues with label " test" moved to done, parent should move to done.
Thanks,
Chandrababu
Hi @Dommalapati Chandrababu Naidu ,
Assuming that you mean 'sub-tasks' when you refer to 'child issues', you can use a Rule like this:
Trigger: issue transitioned to Done
Condition: issue type = Sub-Task
Condition: Related work item condition, that looks at Sub-Tasks and uses 'All match specified JQL' and use the JQL
(status = Done AND labels = "test") OR (labels is EMPTY OR labels != "test")
Action: transition issue to Done.
This ensures that only when all sub-tasks are either:
Have a nice day!
Rik
Hi @Rik de Valk
Thanks for the answer!
i have tried above steps you have mentioned earlier but with 'All match specified JQL' will trigger only when all child issues are moved to done. but here the requirement is to move parent to done when all child issues with label "test" moved to done, irrespective of other child issues status and labels for that parent.
Hope my question is clear.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you use the JQL I provided, it will only consider sub-tasks with the label 'test' for checking if they are done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.