com.atlassian.auiplugin:ajs-underscorejs included in atl.general context breaks greenhopper agile board

XMLWordPrintable

    • Type: Bug
    • Resolution: Support Request
    • Priority: Medium
    • None
    • Affects Version/s: 6.1.3.2
    • Component/s: AgileBoard
    • Environment:
    • 6.01

      If there is a plugin, which imports the AUI underscorejs in the general context, the imported underscorejs (1.1.6 for JIRA 5.1) gets priority over the GH's underscorejs

      SCENARIO:

      1. run atlas-create-jira-plugin
      2. ensure
        <web-resource key="foo" name="Bar">
                <dependency>com.atlassian.auiplugin:ajs-underscorejs</dependency>
                <context>atl.general</context>
                <context>atl.admin</context>
        </web-resource>
        

        in the atlassian-plugin.xml

      3. ensure the plugin is able to run on JIRA 5.1
      4. run atlas-run against the new plugin
      5. install the GH
      6. configure a project for Agile
      7. create an agile board
      8. open the debug console
      9. go to that board,
        see a typeError indicating, that _.chain is not a function (which is really so for underscorejs v. 1.1.6, imported from AJS)

            Assignee:
            Unassigned
            Reporter:
            Serhiy Onyshchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: