Unable to resolve imports in IntelliJ Idea

Hello, I'm trying to start developing plugins for JIRA. I have followed awesome tutorial by Melissa Paisley (Tutorial, Bitbucket - I am trying it on a fresh code from here) and everything seems to be working fine apart one thing - when I take the project and open it in Idea, it shows it cannot resolve imports used in the tutorial.


import com.atlassian.plugin.PluginParseException;
import com.atlassian.plugin.web.ContextProvider;
import com.atlassian.webresource.api.assembler.PageBuilderService;

When I run atlas-run or package, it compiles fine, even when run from terminal within Intellij Idea. It seems that Idea has some problem with Maven dependencies, but I wasn't able to figure out how to set it up correctly.


I tried uncommenting the jira-core dependency in pom.xml, but it didn't help at all.

Is there some special way to import the project into Idea that would fix this issue? (I did import project through pom.xml). Or maybe adding some dependency manually inside Idea project?

2 answers

1 accepted

Thank you, that seems to work.

The recommended way is to use the Maven instance installed with the SDK. If you want to use your Maven instance, your have to add the the atlassian maven repository, like described, and the atlassian maven plugin repositories:



Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
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