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

Scriptrunner IDEA integration - Unhandled no script text or file path provided

Richard Lucas July 25, 2018

I'm having problems getting the Scriptrunner - IDEA integration to work.

After following the instructions https://scriptrunner.adaptavist.com/latest/jira/intellij-integration.html, and enabling the 'insecure connection', the project is created in IDEA, but the expected groovy file is not generated

The project structure is

 

Selection_001.png

Scriptrunner says there is an error - look in the IDEA log which shows this:

2018-07-25 10:57:52,215 [2595500] DEBUG - ptavist.idea.actions.OpenInIde - Project '/home/xxx/IdeaProjects/jira_749982' jira_749982 
2018-07-25 10:57:52,215 [2595500] DEBUG - ptavist.idea.actions.OpenInIde - Adding script roots request to list of actions
2018-07-25 10:57:52,216 [2595501] ERROR - #org.jetbrains.ide.RestService - java.lang.IllegalArgumentException: Unhandled, no script text or file path provided

 

I'm using JIRA 7.6.7, Scriptrunner 5.4.12, IDEA Ultimate 18.1.6, using http, not https

Environment: Ubuntu 16:04, Jira ris unning on a local Ubuntu VirtualBox VM accessible via  http://192.168.33.10:8080/

 

Any clues would be gratefully received.

KR 

Richard

2 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Katy Kelly
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.
August 1, 2018

Hi, 

There is currently an open bug report for this here: https://productsupport.adaptavist.com/browse/SRJIRA-2807

This should be fixed once this is released. We would advise to watch that issue for updates and this should hopefully be released soon. 

Kind regards,

Katy

Adaptavist Product Support 

Richard Lucas August 1, 2018

Hi Katy,

Many thanks for the info - I'm slightly relieved to hear that this is a known issue, and not something that I'm doing wrong.

0 votes
lpopil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 1, 2018

Hi, @Richard Lucas

Connection successful, when project is not empty. Not sure why.
 "\jira_749982\inline\src\main\java\example.groovy"

Richard Lucas August 1, 2018

Hi @lpopil

Unfortunately, that groovy file just doesn't get created, though the directory structure does.

Thanks for taking the time to reply.

lpopil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 1, 2018

Just one more thing, start typing in console, before pressing connection button.

TAGS
AUG Leaders

Atlassian Community Events