Just created some custom js code for the realeasenotes velocity template that comes with Jira.
I would like to separate javascript from the template, but I amb facing some issues.
Wich would be the simplest way to separate it and link it?
I've tried with the webresourcesmanager but it doeesnt seem to work. also. there are several plugin-webresources xml files, not just one.
Other things i have tried is to link it in secure folder, but it whas throwing MIME stric error, when i fixed it, it just doesnt appear.
Any suggestions?
I've separated the code throughout using different *.vm files using script tags then the parse method on velocity
Helps you to separate and structure the code if you're only doing simple modifications on the VTL
requireResourcesForContext just prints itself in a velocity template.
I've tried in rest-mock also in plugin-mock
its quite difficult to add my own js and css to a vm in jira. not getting what i need by reading the documentation of WebResources....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this doc up to date?
https://developer.atlassian.com/server/jira/platform/web-resource/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.