Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

access epic link value from behviour in create issue in epic screen


I want to hide some issue types if creating an issue in an epic ..  like epic itself. 

I am trying this by trying to access the auto-filled-in "epic link" value from a behavior ( initialiser) when creating an issue from an epics "create issue in epic" using the "+"


def epicLinkField = getFieldById('Epic Link')

log.debug("epicLinkFieldvalue:" + epicLinkFieldvalue )

I get 

Form field ID: Epic Link, value: null

I want to hide some issue types if the epic link has a value since it will usually only have a value if you are creating an issue FROM an epic.

If you know how to access the epic link value .. or have another suggestion how do hide epics issuetype when creating inside an epic  ..  please let me know 

Thanks in advance 

1 answer

Hi Luka,

Thank you for using ScriptRunner

Before we dive into the technicalities of your requirement, perhaps if you could let us know what is the problem that you are trying to solve then we might be able to provide a better suggestion

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

154 views 2 13
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