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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 13 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

63 views 3 4
View question

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