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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Triage (View Workflow)
    • Low
    • Resolution: Unresolved
    • 5.0, 5.0.1, 5.0.2, 5.2.10
    • None
    • Login

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: