Forums

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

Automatically link a newly created Linked Issue to all existing, previously linked issues

adam.quinn September 26, 2022

Hello Atlassian Community,

I have an ask that I would like to achieve using native functionality, but am willing to use scriptrunner if needed.

The requested workflow:

  • Issue A meets a certain condition that generates Issue B.
    • Issue B is generated in a different Project than Issue A.
  • As Issue B is being worked and other conditions are met, generated Issue C.
    • Issue C landing Project is dynamic and is in a different project than Issue A and Issue B.

The Ask:

  • To have Issue C link to Trigger Issue A automatically upon Issue creation.

The Problem I'm experiencing:

  • I can get Issue B to link to Issue A upon creation
  • I can also get Issue C to link to Issue B upon creation
  • Issue C's landing project will vary depending on information identified in Issue B.
    • We used Scriptrunner and a custom project picker field of internal creation to achieve this.
  • Since these are all created at different times and with varying conditions, having trouble solutioning the way to link Issue C to Issue A across Projects

Has anyone had success achieving something like this using native functionality?

 

2 answers

1 accepted

0 votes
Answer accepted
adam.quinn September 26, 2022

lookup issues in trigger issue was what was needed to achieve resolution. 

 

Screenshot of working automation belowScreen Shot 2022-09-26 at 2.10.22 PM.png

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2022

Glad my deleted answer helped.  🙂

Like adam.quinn likes this
1 vote
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.
September 26, 2022

Hi @adam.quinn 

I have not done what you ask, and I expect it is possible with a global-scope automation rule, walking the issues until you find the target (Issue A) to link when Issue C is created. 

You appear to be on the Premium license, and so the execution limits for global rules are less of a factor...however if you are on another license level this may be an issue.

Do you have an existing rule that is not working?  If so, please post an image of that for the community to offer ideas.  Thanks!

Kind regards,
Bill

adam.quinn September 26, 2022

@Bill Sheboy 

Hello and good day Bill!

Thank you for the reply. Thankfully I have the global automation super powers!

I received an email, with a suggestion from @Mark Segall  however I'm not seeing his response here in this forum. Not sure why that is.

I attempted Mark's suggestion and provided a screenshot in this reply. It was the functionality to "lookup issues" I overlooked and was the missing piece. 

This works and is an amazing functionality using the native automation features. 

Thank you both for your review, happy to say this is answered.

Quinn
Screen Shot 2022-09-26 at 2.10.22 PM.png

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2022

I deleted my previous answer because it didn't dive into the newly created issue so it would've created links on Issue B rather than Issue C. 

Suggest an answer

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

Atlassian Community Events