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

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

Scott Federman Oct 02, 2017

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

0 votes
Stephen Cheesley Community Leader Oct 23, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Here’s what we’re doing to make Jira Cloud faster

Hello Community 🤗 I’m Nikhil, a Product Manager on the Jira Cloud team working on performance improvements. Performance is an ongoing journey and we continue to invest heavily in it. We under...

140 views 1 19
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