Forums

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

Auto resolve the main Issue when linked Issues are resolved

Elif Alverson
Contributor
August 16, 2022

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 Champion
August 16, 2022

Hi Elif,

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

Elif Alverson
Contributor
August 16, 2022

@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 Champion
August 16, 2022

Can you show the actual audit log?

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2022

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

Elif Alverson
Contributor
August 16, 2022

@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

Charlie Gavey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2022

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
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2022

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
Elif Alverson
Contributor
August 17, 2022

@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 Champion
August 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
Elif Alverson
Contributor
August 17, 2022

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 Champion
August 17, 2022

Fantastic!

Suggest an answer

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

Atlassian Community Events