Forums

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

Add-on JAR wrong file structure for development

Artemy Matvienko
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.
March 9, 2018

I am trying to modify a GNU add-on for JIRA, but the file structure the JAR file extracts doesn't seem compatible with the Atlassian SDK.

When I try the atlas-run command in the root of the extracted directory, the JIRA instance boots up, but the "Manage add-ons" page says "This add-on couldn't be loaded. It has one or more errors that prevent it from being enabled." for the grayed-out add-on I'm trying to install. I don't actually know if its the directory structure that's the problem, but it is indeed quite different from the structure that the atlas-create-jira-plugin command generates. I even had to move the pom file to the root for the JIRA instance to boot up at all.

This is what the structure looks like:

datacollector structure.PNG

While this is the structure Atlassian generates and expects:

atlassian example.PNG

Any ideas why that is and how to best handle this discrepancy? 

1 answer

1 accepted

0 votes
Answer accepted
Artemy Matvienko
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.
March 9, 2018

I downloaded the code from the repo, and it works fine now.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events