JIRA: Scriptrunner - IntelliJ Integration: Code not shown in JIRA Script Console

IBM GBS DevOps CoC October 17, 2018

Hi all,

our JIRA Scriptrunner - IntelliJ Integration only works one-directional. This means, that the code in the Scipt Console can be transferred to IntelliJ via the IntelliJ Button, but the automatic synchronisation from IntelliJ to the Script Console does not work.

I was able to sucessfully set up the integration on a different JIRA instance (but with different versions)

Following deviations were found between the working and non-working integration and might be helpful to solve the issue:

 

Working Instance:

JIRA v7.4.1

ScriptRunner 5.4.30 

IntelliJ: 2018.1

 

Non-Working Instance:

JIRA: v.7.4.0

ScriptRunner 5.4.11

IntelliJ: 2018.1

 

The defaultRoot directory in IntelliJ is missing the path /atlassian/[instancename]/jira-data/scripts (see screenshot)

 

The browser network-console reveals that some Calls is missing in comparison to the working instance when setting up the integration via the IntelliJ-Button. (see screenshot)

I can provide further details and logfiles as needed though they did not help me too much.

 

Any help is much appreciated!

 

Cheers,

 

Niklas

Screen Shot 2018-10-17 at 15.55.25.pngScreen Shot 2018-10-17 at 15.54.58.pngScreen Shot 2018-10-17 at 15.53.32.pngScreen Shot 2018-10-17 at 15.53.20.png

1 answer

0 votes
Jenna Davis
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 19, 2018

Hello, 

I believe you've been experiencing a bug that is on some versions of ScriptRunner. Here's a bug report detailing some of the problems found with this bug, it is specifically mentioned in the comments there. The fix for this issue was released in version 5.4.27 which explains why you're not seeing it on the newer version of SR. 

Please let me know if you have any more questions! :)

Jenna Davis

Suggest an answer

Log in or Sign up to answer