Unable to launch intellij from Inline Script editor sucessfully

Hi,

I have followed all the instructions defined in https://scriptrunner.adaptavist.com/latest/confluence/intellij-integration.html, and have reached a point in which I have a project automatically created via JIRA.

However, I have couple of issues which result in an error message appearing in JIRA;
Screen Shot 2017-11-18 at 09.43.13.pngHaving looked at Intellij logs, I can see the following displayed after I define the location of the JIRA source code;


No such property: JAR_SEPARATOR for class: com.intellij.ide.fileTemplates.impl.UrlUtil

 

When I click the "intellij" button next to the inline script editor, I see the following error in Intelli;

 

Unrecognized field "application" (class com.adaptavist.idea.rest.server.OpenInIdeAction), not marked as ignorable (11 known properties: "sessionId", "metaClass", "deserialiseToClass", "scriptText", "scriptInfo", "name", "confirmCreate", "scriptRoot", "baseUrl", "scriptFile", "channelId"])

Sniffing the network traffic between the browser and intellij, I can see that one of the requests failed;

 

Screen Shot 2017-11-18 at 09.46.51.png

I have tried downgrading the plugin to 0.5 and 0.1 but both that my versio of Intellij does not support it

 

Intellij Version: Ultimate 2107.2.6

JIRA Version: (v7.4.4#74006-sha1:cbc13d9)

Java Version: jdk1.8.0_121

Script Runner version: 5.2.1

OS: OSX Sierra (10.12.3)

 

 

 

 

 

 

1 answer

Can you make sure that you have the latest version of the plugin (0.7.12)? You can get it from our JetBrains listing https://plugins.jetbrains.com/plugin/9751-scriptrunner-idea-plugin or download it via IDEA's plugin manager.

Also, be advised that the plugin is not yet compatible with the latest version of IntelliJ (2017.3). We're working on a compatibility update presently.

Did this get fixed?

Yes. The latest release of the plugin (0.7.13) should work with IntelliJ builds in the 173 range. The one exception is from the Behaviours pages, which is currently broken.

Full disclosure: These compatibility breaks are one reason that the IntelliJ integration is still behind a dark feature flag. We're working to get the infrastructure in place to that we can switch that off, and make it a full fledged feature like any other, with good compatibility checks any time JetBrains or Atlassian do another release. We don't have a hard release date on that, but keep an eye on our release notes for the eventual announcement when the IntelliJ integration comes into the light. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,388 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you