It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add *js file on releasenotes.vm vel.template

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?

2 answers

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....

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

303 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you