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

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

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
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

78 views 1 6
Read article

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