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,296,603
Community Members
 
Community Events
165
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
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 ...

325 views 0 10
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