I'm working on creating an automation that updates an Epic's status whenever one of its subtasks is transitioned what is the best way to do this?
Hi, @Luis Andino Rodriguez . There is a Jira automation template from Atlassian that might help.In this automation, a parent issue will auto-close when all sub-tasks are done. You can use this one as model and change the transtions you would like to use.
Link to the template: https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/140671
For example, if you want that the task's status changes whenever one of its sub-tasks is transitioned to done, you can change the "If: sub-task match" condition to "Some match specific JQL", instead of "All match specific JQL". You can also change the "Branch rule" (the action in purple) to another related issue you would like to perform actions against - in the template they are using the Parent, but you can change to the Epic so it fits your need).Let me know if it helps.
Hi Luis,
I am going to mark Izabela's answer as accepted. Please let us know if you still have questions.
It looks like you're new here. Sign in or register to get started.