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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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,463,473
Community Members
 
Community Events
176
Community Groups

How to fetch transition screen name in behaviors ?

Hello Team,

I have to make one field readonly/writeonly on a particular transition screen depending upon some other preconditions via behaviors.

That field is present on edit screen as well as on that transition screen but I want to control its edit behavior on transition screen by one particular project role.

Currently I used this --> if(getFieldScreen().name == "Screen Name"), but it is not working.

Kindly help me with the probable solution.

 

Best Regards,

Tanu Ranjan Bharadwaj

1 answer

Hi @Tanu Ranjan Bharadwaj

To get the screen name using the Behaviour, you could use something like:-

if(actionName == "Screen Name") {
}

For example:

if(actionName == "Create") {
}

 

I hope this helps to answer your question. :)

 

Thank you and Kind Regards,

Ram

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events