Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is it possbile to autoclose linked issues after solving problem ?

Hi,

I'm trying to set up either an automation or workflow whereby when you close a problem, all the associated incidents automatically get closed, preferably with the comments on the problem resolution all being fed into the incidents too.

Is this possible?

I saw this discussed back in 2019 but the solution there does not work for me:  Solved: Is it possbile to autoclose linked issues after so... (atlassian.com)

Thanks

Pete

1 answer

1 accepted

0 votes
Answer accepted

@Pete Blake -

Welcome to the Community.  Yes it is possible (just as described in your 2019 link reference via third party add-ons and Automation for Jira). 

Here are a few things that you need to be aware of...

1) Based on your ask's "PRODUCT PLAN" = Free, it is my understanding that Automation for Jira may not be available for the Free plan.  It is a part of Premium Cloud paid plan.

2) If you have add-ons mentioned in your link, you need to make sure that your trial subscription is still active.

3) When closing associated incidents, you need to make sure that those incidents' WF statuses  all have a transition (in the WF) directly to the CLOSED status.  Otherwise it will not work unless you create custom script to bypass the in between statuses to the CLOSED status.

4) The user who triggered the auto close action have the appropriate permission to close out those incidents (i.e. incidents in a different project).

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

@Joseph Chung Yin - thanks for the response.

 

I mostly got this working by just reading a lot and making up my own flow.   You're right that you have to consider the WF status carefully - I got caught out by that but solved it.

 

So far it seems that the Free plan isn't having any sort of impact on my ability to write these automatons.  The only issue there is that I can't write global ones so I have to replicate for each Project.   This is only a PoC so no problem there.

 

I do have one outstanding issue which I can't figure out:

 

This is my automation flow:

 

Automation Flow.png

 

The bit which fails is the setting Resolution to Done - in the middle.

The Error track says:

 

Error.png

 

But the issue in question is a Problem, and definitely does have a Resolution field, which should be able to be set to Done.

 

Any ideas on that??  Any more info you need?

 

Thanks

Pete

Good morning @Pete Blake -

Looking at your automation, you don't need to edit the field RESOLUTION.  This field is typically (default) set as a part of your WF transition via post function.  You need to verify in your WF that resolution population is there in the transition's post-functions and ensure it is set to "Done".

Once it is verified, then remove the edit RESOLUTION field step from your automation setup.  Resolution field should be set in the WF configuration only.

Lastly, Automation rule setup is at the project by project level only.  I am not aware of any functionality where one can create global automation rules.  You may be able to share project configuration when you create new project, thus the automation rule setup can be shared among projects.  However, you will need to test it out.

Hope this helps.

Best, Joseph

Hi @Joseph Chung Yin 

Thanks for your response.  That seems to have solved the problem!

Thanks very much for your help.

Regards,
Pete

Excellent.  Glad I was able to resolve your ask.

Best, Joseph

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

274 views 8 7
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