Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Getting started with developing Jira Datacenter apps, using the SDK


I'm just getting started with the Atlassian SDK to attempt to develop some apps for Jira Datacenter.

I'm not new to programming and scripting - I've written hundreds of groovy scripts, and classes using Scriptrunner, and I've done a fair amount of .NET development in the past, but never Java, and this is my first time trying to write a real app.

My aim is to just get one of the tutorial apps to work 100%, and then start modifying it to learn.

I'm following the various Atlassian tutorials to get started, but they seem kind of outdated, and there are some discrepancies that are making it kind of confusing to get started. Also, I'm apparently using the latest SDK, but it auto-sets the Jira version to 7.13, which is way out of date, which seems odd. I just feel like I'm missing something (I know you can adjust the version after the fact)


I'm wondering if anyone has answers to some of these questions.

PS I'm initially trying the Helloworld tutorial, and the custom field tutorial 


1. When running  atlas-create-jira-plugin, there is an extra question, in addition to the ones listed in the tutorials that says "Use OSGi Java Config: (Y/N/y/n) N:" I'm not sure what this means, or if I should select Y or N.

It's not mentioned in any of the tutorials I've seen so far.


2. After creating the plugin structure using atlas-create-jira-plugin, there are immediate errors in the "build" panel of intelliJ IDEA:

Cannot resolve com.atlassian.plugins:atlassian-plugins-osgi-testrunner:2.0.2
Cannot resolve
Cannot resolve com.atlassian.jira:jira-api:7.13.0
Cannot resolve com.atlassian.plugins:atlassian-plugins-osgi-javaconfig:0.2.0


The project builds and runs, but it doesn't seem right that these errors would be there right away from a freshly generated project.



I had some other issues too, but I'll stop here for right now, to see if I can get the basics figured out first :)


I'm working on MacOS 11.5.2, with intelliJ IDEA community edition 2021.2.1

atlas-version command outputs the following:


Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T11:33:14-07:00)
Maven home: /Applications/Atlassian/atlassian-plugin-sdk-8.2.7/apache-maven-3.5.4
Java version: 1.8.0_301, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

The SDK is 8.2.7.


The pom.xml created by a basic atlas-create-jira-plugin looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns=""


<name>Example Company</name>

<description>This is the com.atlassian.tutorial:myPlugin plugin for Atlassian JIRA.</description>

<!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
<!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->

<!-- OSGi Java Config dependencies -->


<!-- Uncomment to use TestKit in your project. Details at -->
<!-- You can read more about TestKit at -->

<!-- Uncomment to install TestKit backdoor in JIRA. -->

<!-- See here for an explanation of default instructions: -->
<!-- -->

<!-- Add package to export here -->

<!-- Add package import here -->

<!-- Ensure plugin is spring powered -->

<!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. -->
<!-- TestKit version 6.x for JIRA 6.x -->



Thanks for any help you can provide.


Also, if you have any specific sites (other than Atlassian) that may have more up to date guides or reading material for this stuff, that would be appreciated.




1 answer

1 accepted

0 votes
Answer accepted

I did some more research and found a solution to one of my questions. The unresolvable dependencies were caused by the intelliJ bundled maven version.


I went to Preferences > Build, Execution, Deployment > Build Tools > Maven and set the maven version to

/Applications/atlassian-plugin-sdk-8.2.7/apache-maven-3.5.4 (the one included with the SDK), and that allowed it to resolve the dependencies.


I'm still unsure about what the question about the OSGi Java Config means, and why the SDK seems to be so out of date.

> I'm still unsure about what the question about the OSGi Java Config means


Given that "N" was the default I just accepted it, but I too didn't know what it meant!

OSGI let you use Java Configuration along with Helper methods from OSGI layer of Atlassian. This enables us to export and import beans across services. I hope this link and the video from camp would help to understand it better

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,728 views 37 47
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you