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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
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