Hello,
strange things happen nowadays. On my local jira server 8.2.5 javascript of web resource loads just fine.
When I deploy my plugin to DEV instance, nothing is loaded (no javascript file).
Can someone advice what to check?
My webresource def:
<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>
Loading the resource:
<html>
<head>
<title>Handle configuration scheme</title>
<meta name="decorator" content="atl.admin">
</head>
<body>
$webResourceManager.requireResource("com.erstegroup.jira.plugin.andisScraper:configuration-scheme-resources")
<br>
Need to point out I googled and tried to remove first slash js/… and couple of other things, but nothing helped…