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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Behaviours Screen Condition

Is there a way to condition a behavior based on the screen ID? I would like to easily map and organize my behavior rules per screen.


1 answer

1 accepted

1 vote
Answer accepted
Leo Community Leader Jan 16, 2020

Hi @Steven Mustari,

Yes, you can make a condition based on screen name or id

//condition based on name

if(getFieldScreen().name == "Screen Name"){

  //code here


//condition based on id

if(getFieldScreen().id == 1234){

  //code here





Thanks Leo! Exactly what I needed!

Suggest an answer

Log in or Sign up to answer

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