I have a new .js file in src/main/resources/js/.
<resource type="download" name="charts.js" location="/js/charts.js"/>
Oddly, this is working for another plugin of mine.
What is wrong? Anyone know?
It could be possible that your js-file is included in batch.js with appropriate module-key and location e.g.
/* module-key = 'atlassian.plugin.key:web-resource.key', location = '/js/charts.js' */
The resources, defined under a web resource module, are loaded in a single batch to reduce the number of HTTP requests from the browser. To turn it off add a param element as follows:
<resource type="download" name="charts.js" location="/js/charts.js">
<param name="batch" value="false"/>
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot