Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to automatically close an epic based on linked issue status

I am looking at using automations for this but cannot seem to get the right recipe together for this to execute. 

 

How would i go about automatically transitioning an epic to done once all linked issues are marked done?

3 answers

2 accepted

0 votes
Answer accepted

Hey all, thank you for your help. I found the issue in the end was not the automation but rather there was a duplicate "EPIC LINK" custom field that was not the system default. That is what was breaking the automation.

Jack Brickey Community Leader Dec 09, 2020

DOH! I have seen it many times where people create a custom field with the same name as a system field. 

Like # people like this

Oh my...  Hopefully this issue can be resolved/mitigated in the future, such as with project references to fields: https://jira.atlassian.com/browse/JRACLOUD-74037

__Bill

0 votes
Answer accepted
Jack Brickey Community Leader Dec 09, 2020

Hi Scott, do you really mean "linked" issues or do you mean issues that are associated to an Epic via the Epic Link. Just want to be clear as there is a difference.

Here is what I have used to close the epic once all stories are done.

close-epic.png

Gahhhh. That is exactly what i had.  Seems really simple and straight forward but it didnt work

Capture.JPG

Jack Brickey Community Leader Dec 09, 2020

i have had mine disabled for some time now (don't need it really) but it certainly was working as I recall. What does your log say?

Hey @Jack Brickey heres what i see. This is currently only applied to the QAA project and that is where im testing this too.

Capture.JPG

Jack Brickey Community Leader Dec 09, 2020

i will need to test on my end when i get a second.

Jack Brickey Community Leader Dec 09, 2020

Just re-enabled, tested and worked....

close-epic2.png

John Funk Community Leader Dec 09, 2020

The only difference I see is that one has ="Done" and the other has =done

Hi @Scott Federman 

Is this a Classic or a NextGen project?

If you go to the condition with the JQL status check, and click on the link "validate query" what does it show?

Best regards,

Bill

@John Funk made that change and still nothing

 

@Bill Sheboy Its a classic project and when i validate it returns 451 issues.

0 votes
John Funk Community Leader Dec 09, 2020

Hi Scott,

Have you already started one that is not working? If so, can you share that one? And what is not working with it. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

113 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you