Hi everyone,
I’ve encountered an issue while developing a Jira plugin, and I’m hoping someone can help.
I’m developing locally on localhost:2990
using the Atlassian SDK. Everything works perfectly in the local environment, including loading JavaScript and CSS web resources. However, when I upload the .jar
file to our production Jira environment via Manage apps, the web resources fail to load.
Some additional details:
- Jira Version: Both local and production environments are running the same Jira version (9.4.0).
- Atlassian SDK Version: 8.2.7
Web-Resource Section:
<web-resource key="myApp-resources" name="myApp Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:aui-date-picker</dependency>
<resource type="download" name="project-phases.js" location="/js/project-phases.js"/>
<context>project-phases</context>
<resource type="download" name="myApp.css" location="/css/myApp.css"/>
<resource type="download" name="myApp.js" location="/js/myApp.js"/>
<resource type="download" name="images/" location="/images"/>
<context>myApp</context>
</web-resource>
Any guidance would be greatly appreciated! If someone has resolved a similar issue, I’d love to hear how you fixed it.
Thanks in advance!