Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-52422

JIRA Road Map gadget doesn't load and throws JavaScript errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 5.9.6, 5.10.7, 6.2.0, 6.1.3
    • Macros - Gadgets

    Description

      Summary

      When adding JIRA Road Map gadget to Confluence and loading gadget, the gadget does not populate and an error appears in the JavaScript console.

      Environment

      • Confluence 6.2.0
      • JIRA 7.3.6

      Steps to Reproduce

      1. Set up Application Links between Confluence and JIRA
      2. Add the JIRA Road Map Gadget to Confluence in General Configuation > External Gadgets. The XML link is from the JIRA gadget page, it will be something like
        http://jira.mycompany.com:8080/jira/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:road-map-gadget/gadgets/roadmap-gadget.xml
        
      3. Edit a new page in Confluence
      4. Open the JIRA Road Map gadget from Other Macros

      Expected Results

      Gadget will populate and can be edited

      Actual Results

      The JavaScript console throws

      com.atlassian.jira.gadgets:core-gadget-resources.js?locale=en-AU:12 Uncaught TypeError: Cannot read property 'value' of undefined
          at Object.projectsAndCategoriesPicker (com.atlassian.jira.gadgets:core-gadget-resources.js?locale=en-AU:12)
          at Object.descriptor (ifr?container=atlassian&mid=17181245440&country=GB&lang=en&view=default&view-params={"writable"%3A"…:459)
          at descriptor (com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:39)
          at com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:6
          at Object.reqOptions.success (com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:6)
          at Object.success (com.atlassian.gadgets.publisher:ajax.js:24)
          at Object.AG.ajax.handleCallbacks (com.atlassian.gadgets.publisher:ajax.js:6)
          at Function.AG.ajax.anonymous.handleResponse (com.atlassian.gadgets.publisher:ajax.js:18)
          at com.atlassian.gadgets.publisher:ajax.js:18
          at processResponse (auth-refresh.js?v=5d17277…&container=atlassian&debug=0:327)
      

      and the Road Map is empty

      Notes

      Tested in Confluence 6.1.3 and had same issue.

      Workaround

      No workaround.

      Attachments

        1. RoadMapGadget.png
          48 kB
          James Richards

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jrichards@atlassian.com James Richards
              Votes:
              74 Vote for this issue
              Watchers:
              72 Start watching this issue

              Dates

                Created:
                Updated: