Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,715
Community Members
 
Community Events
168
Community Groups

Auto resolve the main Issue when linked Issues are resolved

Edited

Hello, I am trying to auto resolve the main issue when the linked (blocked by) issues are resolved. I came up with this automation below. It seems like nothing happens when I change the linked issues state to done. The main issue is still in submitted state. Any suggestions will be appreciated. 

Screen Shot 2022-08-16 at 12.55.55 PM.png

1 answer

1 accepted

0 votes
Answer accepted
John Funk Community Leader Aug 16, 2022

Hi Elif,

What do you mean it does not work? Is there an error? Can you share the audit log? 

@John Funk , when I transition the linked issues to state: done ; the main issue's state does not change. Nothing happens. 

Screen Shot 2022-08-16 at 1.14.34 PM.png

John Funk Community Leader Aug 16, 2022

Can you show the actual audit log?

Hi @Elif Alverson 

Yes, and to John' question...

In the audit log, please expand some of the details sections with "Show more" and post that image.  That will indicate which steps in the rule processed, or not.  Thanks!

My hypothesis: your JQL conditions on the Summary field are not matching as you expect.

Kind regards,
Bill

@Bill Sheboy and @John Funk ; here are the details. and my test linked tickets.Screen Shot 2022-08-16 at 7.07.46 PM.pngScreen Shot 2022-08-16 at 7.09.22 PM.pngScreen Shot 2022-08-16 at 7.09.27 PM.png

Hi @Elif Alverson

It looks like your JQL may be filtering for only issues that contain both "September 1" and "August 1", rather than issues that contain either one of these.

If you try removing one of your JQL conditions, so it's only matching on one of the strings, does your rule successfully trigger against one of the test issues?

Cheers,

Charlie

Like # people like this

Yes, I think Charlie identified the cause: your rule structure is performing an AND of the two conditions.

To still include both, switch to one condition with:

summary ~ "September 1" OR summary ~ "August 1"

Like # people like this

@Charlie Gavey and @Bill Sheboy , this solution works perfect for the test project I created. I will try it in an established project and let you know. Thank you so much for your quick response and help. 

Like # people like this
John Funk Community Leader Aug 17, 2022

Thanks @Charlie Gavey and @Bill Sheboy  for jumping in while I was out.  :-)

Glad your test worked @Elif Alverson !!

Like # people like this

Hello, this solution works in an established project as well. Thank you so much for your help again. 

Like John Funk likes this
John Funk Community Leader Aug 17, 2022

Fantastic!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS

Atlassian Community Events