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

    • Type: Bug
    • Status: Needs Triage (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.0, 5.0.1, 5.0.2, 5.2.10
    • Fix Version/s: None
    • Component/s: Login
    • Labels:

      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

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

              Dates

              Created:
              Updated: