-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
5.0, 5.0.1, 5.0.2, 5.2.10
-
5
-
Severity 3 - Minor
-
The atl.general context decorator used to be available in login.jsp on JIRA 4, which could be used by the Web Resource Module. However, this doesn't work anymore. To test, I've used the following
atlassian-plugin.xml
<?xml version="1.0" encoding="UTF-8"?> <atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2"> <plugin-info> <description>${project.description}</description> <version>${project.version}</version> <vendor name="${project.organization.name}" url="${project.organization.url}"/> </plugin-info> <web-resource name="My Web Resource" i18n-name-key="my-web-resource.name" key="my-web-resource"> <description key="my-web-resource.description">The My Web Resource Plugin</description> <resource name="test.js" type="download" location="/templates/test.js"/> <context>atl.general</context> </web-resource> <resource type="i18n" name="i18n" location="atlassian-plugin"/> </atlassian-plugin>
/templates/test.js
alert("hey jira 5!");