ScriptRunner behaviors not working in "Raise a Request" screen

Cindy Schlegel October 4, 2018

 Hello Community,

I was hoping I could ask you about writing custom scripts via ScriptRunner. I am trying to write a behavior but I want to implement it on the “raise a request” screen in Jira Service Desk. Currently it’s working only on the “Create Issue” screen. Would anybody be able to point me in the right direction on how to solve this?

Thanks!

2 answers

2 accepted

2 votes
Answer accepted
Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2018

Hello @Cindy Schlegel

You need add mapping to service desk, like this

image.png

As you can see it require service desk v 3.5.2 or higher and Scriptrunner v 5.3.0 or higher.

Cindy Schlegel October 4, 2018

Thank you, I did add mapping but I think the issue is my service desk is currently version 3.4.0. I will need to upgrade to a higher version to get this to work. My ScriptRunner is currently at version 5.4.12 so that is good.

Like Dave Liao likes this
0 votes
Answer accepted
Daniel Yelamos [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2018

Hi Cindy!

What is your Scriptrunner version? We added support for Service Desk quite recently, so if you are in an old version, it would not work.

Cheers!

DY

Cindy Schlegel October 4, 2018

Hi DY,

My current ScriptRunner version is 5.4.12 and my current Jira Service Desk version is 3.4.0. I believe I need to upgrade my Service Desk version in order for the behaviors to work in all screens?

 

Thanks

Daniel Yelamos [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2018

Hi Cindy.

Yes, Mark is correct. But it will require further configuration, as he also explained.

Do tell me if I can help you further.

Cheers

DY

Cindy Schlegel October 8, 2018

Hi,

I was able to get access to a test environment with Jira Service Desk version 3.9.0 and I am still having the same issue. My behavior works in the "Create Issue" screen but not on any of my "Raise a Request" screens. Is what I am trying to implement possible? I did the mapping as instructed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events