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
4,293,246
Community Members
 
Community Events
165
Community Groups

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

Hi.

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
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

147 views 0 3
Join discussion

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