Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-27960

atl.general context decorator does not work on login.jsp anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • 5.0, 5.0.1, 5.0.2, 5.2.10
    • Login

      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!");
      

              Unassigned Unassigned
              dmeer Dennis Kromhout van der Meer (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: