Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira does not load any AJS (js) to vm template

Vaclav Schmuttermeier December 17, 2019 edited

I recently deployed my new plugin to jira DEV server. Locally everything works fine but on the server when I access my webwork page no js is loaded. It is truly frustrating :-((

Definition of web resource: 

<web-resource key="configuration-scheme-resources" name="Configuration scheme Handle Web resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:aui-toggle</dependency>
<dependency>com.atlassian.auiplugin:aui-select</dependency>
<dependency>com.atlassian.auiplugin:aui-select2</dependency>
<resource type="download" name="configuration-scheme.js" location="/js/configuration-scheme.js"/>
<context>configuration-scheme</context>
<context>atl.general</context>
<context>atl.admin</context>
</web-resource>

using jira server 8.2.5

Loading in page:

</head>
<body>
$webResourceManager.requireResource("com.jira.plugin.andisScraper:configuration-scheme-resources")

js located in:

/resources/js/.. 

1 answer

0 votes
brbojorque
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 17, 2019

Hi @Vaclav Schmuttermeier ,

You are better off asking these types of questions in the developer community.

https://community.developer.atlassian.com/

Vaclav Schmuttermeier December 17, 2019

I did believe me, but it appears this forum is dead :D so I am trying my luck here. All in all after I started developing plugin for jira as we have a great potential in the company for it I just got frustrated. Technical support sucks, documentation sucks and it is outdated, when a person searches for an article or some help how to resolve something he founds either nothing or some outdated article which does not help anymore as version of jira increases as apple releases new models. Hopefully you guys will focus in feature more on documentation and providing more of useful examples for us which would be really, really helpful. 

Suggest an answer

Log in or Sign up to answer