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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events