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, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events