Our plugin uses webResources, but the only way so far to include them into the new screen available in the issue navigator (http://blogs.atlassian.com/2013/05/meet-new-jira-6/ , "Detail View: optimize the way you work with issues") is to add them into atl.general context:
<web-resource key="foo" name="FooBar"> <dependency>com.atlassian.auiplugin:jquery</dependency> <context>atl.general</context> <context>atl.admin</context> <resource type="download" name="baz.js" location="js/baz.js"> <property key="content-type" value="text/javascript"/> </resource> </web-resource>
if I use
webResourceManager.requireResource("com.qux.jira:foo")
the web-resources are not included.
Is there any possible way to include web-resources, except using the atl.general context?
Community moderators have prevented the ability to post new answers.
DId you try to add prefix "$" in front of the code "webResourceManager.requireResource("com.qux.jira:foo")"?
Certainly. For that is how one uses variables in velocity. But the problem was that neither if called from velocity, nor when called from java, the web resources were not included.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.