This question is in reference to Atlassian Developer Documentation: Put the Final Polish on the Project in Eclipse
I cannot get the JIRA Helloworld Plugin tutorial to work. (Specifically: https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/put-the-final-polish-on-the-project-in-eclipse).
I've run through it a number of times. (I don't even want to tell you how many... ) I've also tried a few other tutorials for Confluence and JIRA and zero luck. I see the same issue with all of them. I'm not sure if there's an issue with how I've setup my dev environment (I'm completely new to JIRA/Confluence development and followed the instructions on how to install the SDK and recommended version of Java, etc.) I have started to see other people posting comments saying that they also cannot get the tutorials to work either, so I'm reaching out for help. For the errors I'm encountering, there is not enough explanation given in the tutorials to understand what is going wrong. If this turns out to be something on my end, I would suggest adding a better explanation of what exactly the plugin creation command generates and how to create these resources without using the auto-generate command.
Here are the details on what's going wrong:
When I run atlas-run to open JIRA and test the plugin, the Helloworld plugin is disabled. I try to enable it manually and get the following error:
ERROR admin .... /rest/plugins/1.0/com.atlassian.tutorial.helloworld-key [c.a.p.osgi.factory.OsgiPluginInstalledHelper] Cannot determine required plugins, cannot resolve bundle 'com.atlassian.tutorial.helloworld'
After that initial error, it keeps trying to load, and then I finally get a timeout error and the plugin does not load:
ERROR admin ... /rest/plugins/1.0/com.atlassian.tutorial.helloworld-key [c.a.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.tutorial.helloworld
It looks like the files generated from the atlas-create-jira-plugin-module command do not yield the same files in the completed version of the tutorial hosted at https://bitbucket.org/atlassian_tutorial/helloworld.git
Running atlas-create-jira-plugin-module yields:
Meanwhile, the Bitbucket code has:
I'm not sure how to resolve this. Any help is much appreciated!
I added a JIRA ticket because I believe there may be a bug:
Hey! After 3 weeks of work on the code I got all JIRA tutorials to work.
Here are the modified files:
What you will find in archive:
1) pom.xml files:
2) atlassian-plugin.xml files:
3) MyPluginComponent.java for helloworld tutorial
4) MyPluginServlet.java for adminUI tutorials:
5) admin.vm for adminUI tutorials
6) guava-14.0.1.jar that i used as external in the last adminUI tutorial (Store and retrieve plugin data):
Good luck! Have fun!
It means that the number of changes to make it work for JIRA 7.x or even 6.4 is big.
Most of tutorials are made for 5.x or 6.2 or 6.1. Of course you can fix all the outdated and deprecated methods and classes with your hands. It took me 2 weeks to go through the beginner tutorials and i think it's not ok.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot