Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

All you wanted to know about customer support KPIs

When working in customer support, it’s crucial to calculate, analyze and monitor specific numbers, called KPIs (Key Performance Indicators). They go hand-in-hand with customer satisfaction, problem d...

107 views 1 5
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