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 Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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