The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch transition screen name in behaviors ?

Tanu Ranjan Bharadwaj
April 14, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
April 23, 2021

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

TAGS
AUG Leaders

Atlassian Community Events