We have a plugin created with Atlassian SDK in JIRA. We have a simple vm template getting rendered on plugin configuration page with its associated CSS and JS files. It observed that while rendering this VM on page, unnecessary calls are going to load batch.css, batch.js, shortcut, logo, image etc, etc.
Not sure why they are loading on page. Is it the default JIRA behaviour. I want to restrict those CSS and JS loading.
On top of the JS and CSS files you have added, JIRA will be a loading a lot of web resources used by the various headers, footers, navigation bars etc on the JIRA pages. Most of those resources are loaded based on web resource contexts and a lot of them will load on all pages.
Some the plugins will also add resources in to the general context, even if they won't be used by your template or the screen you are developing. It might be safe not to block them to avoid breaking functionality on other pages.
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.