Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What's the best way to monitor for epics containing all resolved issues?

Matt Caruso September 5, 2024

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?

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
September 5, 2024

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.

 

Matt Caruso September 6, 2024

That worked beautifully. Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events