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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Script runner Behaviour does not working in Service Desk but in JIRA Software Edited


I've a problem with a scripted Behaviour which works in JIRA software, but not in Service Desk.

Although I've mapped it to the Service Desk project (see attachment).

The Behaviour should set the Metric ID mandatory if for component field "Update metric" is entered, otherwise it should be optional.

Thanks for help.

Best regards,

Thomas.2019-04-01 08_39_49-Behaviours - JIRA PTE Controls.png

2019-04-01 08_38_18-Behaviours - JIRA PTE Controls.png2019-04-01 10_59_51-Edit request type - Service Desk.png

1 answer

Hi Thomas, 

We've recently fixed some issues with Behaviour mapping. Without knowing the versions you are using, this is sounding similar to this:

Please check against the repro steps and see if that matches your versions and experience. 



Adaptavist Product Support 


I do not get a message like "ID not found" in the request type mapping (see below).

My versions numbers are:

  • Atlassian Jira Project Management Software (v7.12.3#712004-sha1:5ef91d7) 
  • Scriptrunner Version: 5.4.34
  • JIRA Service Desk - 3.15.3-REL-0003

BR Thomas2019-04-03 09_39_12-Behaviours - JIRA PTE Controls.png

Hi Thomas, 

Please submit a support ticket then:



Ok, thanks! 

BR Thomas


I'm having exact same problem. I created a Behavior to hide or show a text field depending what radio button is selected. This works perfectly in Jira Software test project. I changed mapping to Service Desk project and both new fields show up in correct place but the Behavior script is not run. Text field is always visible.

Jira Software v7.12.3

Jira Service Desk v3.15.3

Scriptrunner v5.6.1

Is there a ticket open for this issue already?



Suggest an answer

Log in or Sign up to answer
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

183 views 2 3
View question

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