Ok, I understand. You don't need the link tag in the header of the html-file.
You simply define your web-resource (do not forget context!!!) in atlassian.xml:
<web-resource key="key-Name" name="name Resource"> <dependency>com.atlassian.auiplugin:ajs</dependency> <resource type="download" name="my-listener-plugin.css" location="/css/my-listener-plugin.css"/> <resource type="download" name="my-listener-plugin.js" location="/js/my-listener-plugin.js"/> <resource type="download" name="images/" location="/images"/> <context>your-context</context> </web-resource>
And then you reference this context, by putting following line of code into the header of the html-file:
That's how it works. By referencing this context, you also have access to all other resources defined in your web-resource like js, images, ...
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs