I want to be able to set up some way of monitoring if an epic contains only resolved issues.
I've considered:
Creating a filter and subscribing: But I'm not able to create a JQL for epics based on the fields of their children
Triggering an automation every time an issue is resolved: Then, check it see if it has a parent. If it has a parent, use Lookup Issues to get all the children of that parent. But I'm stuck there — I'm not sure how to write an automation condition to only proceed if the children all match a condition.
What does the community think? How do you keep an eye out for epics which should likely be closed?
Hello @Matt Caruso
Is your end goal only to get an alert when all the child issues are closed, or to close the parent Epic automatically?
A rule like this could work for you.
Trigger: When issue transitioned to Resolved
Condition: Issue Type is one of the types that can be a child of an Epic
Branch: For Related Issues / Parent
Condition: Related Issues
Related Issues: Children
Condition: all match jql
JQL: statusCategory = Done
Action: whatever action you want to take; send email or transition Epic.
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.