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

Requiere resources in *.vm Edited

Hello ,

I am trying to add

to my custom *.vm file but I can't make it work.

Not working:

  • $webResourceManager.requireResourcesForContext("com.atlassian.auiplugin:aui-select"
  • #requireResourcesForContext("com.atlassian.auiplugin:aui-select")

Thank you in advance

4 answers


Hello @Adria_Alonso 

For single select you can use this


or Select2 you can use this


It just shows it as plain text : /

To be more precise, i'm on releasenoteshtml.vm , slightly modifying the *.vm.

JIRA 8.4.1

Try to use it in




Keeps with the same problem.

In, cached is disabled

Also I've forced putting the <head> tags since the vm starts with:


##Text is escaped twice so that the characters generated in the text area display properly escaped (JRA-12184)

###macro (doubleEncode $html)

## $textUtils.htmlEncode($textUtils.htmlEncode($html))


<title>$textUtils.htmlEncode($action.getText('release.notes.html.title', $project, $version))</title>


The fact that there's a title tag in there with no head tags and then an opening body tag is rare to me. I've tried several combination, also what you mentioned and still nothing.

I believe this is created from releasenote.jsp located in secure/views/project

In I see:

# Allows alternative ResourceManager and ResourceCache implementations
# to be plugged in.

resource.manager.class = com.atlassian.velocity.PluginAwareResourceManager
resource.manager.cache.class = com.atlassian.velocity.PluginAwareResourceManager$Cache

Which is the functional way?

OR anyone has a working example in releasenotes-html.vm?

Including the plugin Custom Select List

But I'll leave it open since I dont consider it the Correct solution for using resources in vm templates, furthermore, the version of select2 that is using is the old one

Suggest an answer

Log in or Sign up to answer

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