Linking issues based on issue numbers provided in custom field using script runner Edited

linked epics field.PNGHi All,

So I do not know how to write script so I'm a bit stuck and hoping someone can help me. Using script runner, I am trying to auto link an issue when a issue key is populated in an issue link custom field. 

Ex. FP-5 ("feature" issue type) has "Linked Epics" custom field (CF-11400) (issues picker) populated with FP-3 ("epic" issue type) .

I would like FP-3 to be auto-linked linked (as child if possible) to FP-5 when related epic key entered in to the "Linked Epics" field

Is this possible?

1 answer

Hi Scott,

Just trying to understand a bit more about your scenario to try to suggest the best option. I have a couple of questions:

How come you aren't just having users use the standard issue linking functionality? Is it that you are trying to restrict / filter the issues the user can link?

What is the type of the custom field CF-11400?

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

66 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot