Hi,
I have created a plugin using "atlas-create-jira-plugin" command.
I have added a JavaScript file to the "JS" folder and added it to the "atlassian-plugin.xml" file.
It works perfectly on the local instance, but when I upload the JAR file on the server, it doesn't work.
It is a simple alert function, just to make sure my JS works or not.
window.addEventListener('DOMContentLoaded', (event) => {
alert("hello");
});
I appreciate your help, thanks.
Thanks everybody for your replies.
To be honest, I could not figure that out, so I removed the project and created a new one, right now everything works. However, I think there were some issues with my "atlassian.plugin.xml" file, it was not configured correctly.
Best regards,
Hamed
Hello @hamed.homaee ,
Welcome to the Atlassian Community!
This question has been created against Jira Cloud Free, but "atlas-create-jira-plugin" is actually for Jira Server:
Can you kindly clarify what you are doing as well as provide the exact steps you are following?
Also, are you getting any error message when this does not work?
Finally, please notice that this is not the best place to get help on development related questions. The right resources are listed in https://developer.atlassian.com/resources.
Specifically:
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dario,
Thank you so much for your response.
First, I apologise, I did not notice this forum is for "Jira Cloud" related topics.
However, the issue is that my script does not get loaded into the production instance.
But because I found out that there is a Webpack plugin, which configures the "atlassian.plugin.xml" file in the most appropriate way, right now I am trying to using and testing it.
I will let you know about my progress.
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the update @hamed.homaee
However, since this is a development related question, I might not be the best person to help. In case of further issues with this I would advise to either Ask the Developers Community or Create a Developer Support Request.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much,
I will continue this topic in the "Ask the Developers Community" section.
Best regards,
Hamed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome @hamed.homaee . Remember you can also create a DEVHELP ticket in case nothing else works. :)
It would be nice if, once your issue is solved, you could spare some time to paste the solution in a new answer and accept it in order to mark this thread as resolved.
Have a nice weekend!
Dario
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.