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
Community Members
Community Events
Community Groups

Scriptrunner behaviour example for service desk doesn't work

Tried the example here but it doesn't work at all. When i change the priority value in the customer portal, the label next to he description field doesn't change.

Tried with JIRA version 7.9 and 7.11 and SD version 3.12 and 3.14 and my scriptrunner is the latest verions 5.4.12

ANything i am missing??

1 answer

1 accepted

Is your behaviour mapped to "Use Service Desk mapping"?

Is your behaviour script set on the Priority field?

Yes. Made sure this is mapped correctly.

Your script needs to be on the Priority field. In your screenshot, click "Add server-side script" and move your script there then delete the Initialiser. It will work then. 

Scripts in the initiliaser only run one time when the screen is loaded. Scripts on a specific field run everytime that fields values changes.

Roland, thank you very much for the clarification. It seems i haven't read the doc thoroughly and carefully. 

It works perfectly now.


Suggest an answer

Log in or Sign up to answer
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 ...

255 views 0 6
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