Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

IntelliJ Scriptrunner Integration Code Completion Not Working

Benjamin Morgantti
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!
January 24, 2019

Jira Verson: 7.3.8

IntellJ Version: 2018.2.7

Scriptrunner Version: 5.4.12

Scriptrunner IDEA Plugin: 0.7.15

Project SDK: JDK 1.8.0_191

 

I followed these instructions:

https://scriptrunner.adaptavist.com/latest/jira/intellij-integration.html

At some point IntelliJ prompts you to link the Jira source, which I did, in form of the unzipped source, provided by Atlassian.

 

Problem:

Code completion for the Jira source is not working. If for example I want to import a Atlassian package via com.atlassian... the "atlassian" is not recognized.

If I check the Libraries under Project Structure → Libraries, the Maven Library seems broken. The error says "invalid classes root.

 

Screenshot:

libraries.PNG

Under Problems it says, that the classes path is broken.

Screenshot:

problems.PNG

I read a bit online and one suggestion was to change the maven path to one from the Atlassian SDK. I installed the Atlassian SDK and changed the maven path to the one from this installation, but unfortunately, that did not help either.

I am unfamiliar with Maven or similar tools, so any help is greatly appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer