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:
src/main/java/com/atlassian/tutorial/helloworld/api/MyPluginComponent.java
src/main/java/com/atlassian/tutorial/helloworld/impi/MyPluginComponent.java
Meanwhile, the Bitbucket code has:
src/main/java/com/atlassian/tutorial/helloworld/MyPlugin.java
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:
https://jira.atlassian.com/browse/JRA-47699
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!
Oh wow! Thank you for this!
These tutorials are so out of date. I've been having issues with them. Luckily I saw this post.
Thank you again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This topic is little bit old but still there is same issue and big problem with outdated tutorials.
Anyway thanks to people like mr. Roman who doing their best to help.
Sometimes I think Atlassian doesn't want outside developing so much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Totally agree, been bashing away at this for awhile now. Managed an application that works in JIRA 6.3 but now looking to migrate to 7.2+ which requires a whole restructure of code using Atlassian Spring Scanner + annotations.
Can update progress if you so wish, following that link above on how to update code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's actually a bit of a lie - a lot of them are still in date. What you mean is "Some of them are out of date and it seems to be the ones I've looked at"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All of the Atlassian Tutorials are OUT OF DATE.
The same question here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.