Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-12854

Roadmap gadget doesn't work when added as external gadget in another instance

    • 7
    • 50
    • Severity 3 - Minor
    • 44
    • Hide
      Atlassian Update – 01-02-2019

      Hi everybody,

      Thank you all for the votes and sharing your experiences and workarounds for the bug. I'm happy to announce that we've revisited it and pinned down the cause of it. We're now hardening the fix and testing it. Our estimation is that we are going to ship it within the next couple of weeks - please treat is as our best assessment, not a deadline. Stay tuned for further updates on the progress.

      Cheers,
      Pawel, Jira Server Bugfix team

      Show
      Atlassian Update – 01-02-2019 Hi everybody, Thank you all for the votes and sharing your experiences and workarounds for the bug. I'm happy to announce that we've revisited it and pinned down the cause of it. We're now hardening the fix and testing it. Our estimation is that we are going to ship it within the next couple of weeks - please treat is as our best assessment, not a deadline. Stay tuned for further updates on the progress. Cheers, Pawel, Jira Server Bugfix team

      Steps:
      1. Run JIRA 1
      2. Run JIRA 2 (or confluence) (Not on the same machine as JIRA 1. For unknown reason, it's throwing shindig exception. Require further investigation)
      3. Open JIRA 1 and retrieve the url to roadmap gadget (For example: https://jdog.jira-dev.com/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:road-map-gadget/gadgets/roadmap-gadget.xml)
      4. Open JIRA 2 and add external gadget to the dashboard (Click on 'Add gadget' then 'Add Gadget to Directory')
      5. In JIRA 2, search for the newly added gadget and add it to the dashboard.

      Expected: Gadget is added and a config screen is showing in the gadget.
      Actual: Gadget is added, but it's not showing anything.

      Gadget is throwing a JS error here:

      AJS.gadget.fields.projectsAndCategoriesPicker = function(gadget, userpref, options) {
          if (!options){
              options = {};
          }
          if (!options.projects){
              options.projects = [{label:gadget.getMsg("gadget.common.projects.all"), value: "allprojects"}];
          }
      
          if(options.projects[0].value !== "allprojects"){ //Uncaught TypeError: Cannot read property 'value' of undefined 
              options.projects = AJS.$.merge([{label:gadget.getMsg("gadget.common.projects.all"), value: "allprojects"}], options.projects);
          }
      
          if (!options.categories || options.categories.length == 0){
      
      

          Form Name

            [JSWSERVER-12854] Roadmap gadget doesn't work when added as external gadget in another instance

            Harrison made changes -
            Remote Link Original: This issue links to "RAID-1084 (Bulldog)" [ 408246 ] New: This issue links to "RAID-1084 (JIRA Server (Bulldog))" [ 408246 ]
            set-jac-bot made changes -

            Rob Monroe added a comment - - edited

            have the issues with Jira Roadmap Gadget been solved? Im still on Jira 7.10.2 and every time we use this gadget the resovled issues progress bar always shows that all Jira issues are unresolved for a given version when that is definitely not accurate. We are planning to upgrade to 8.5.3 but i do not see that version listed in your Fixed Versions list

            Rob Monroe added a comment - - edited have the issues with Jira Roadmap Gadget been solved? Im still on Jira 7.10.2 and every time we use this gadget the resovled issues progress bar always shows that all Jira issues are unresolved for a given version when that is definitely not accurate. We are planning to upgrade to 8.5.3 but i do not see that version listed in your Fixed Versions list

            Andrea Lee added a comment -

            Able to reproduce - latest version of Jira and Confluence Cloud

            Andrea Lee added a comment - Able to reproduce - latest version of Jira and Confluence Cloud

            We could also use this!

            duncan.main added a comment - We could also use this!
            Mila made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 419954 ]
            Mila made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 418834 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 7
            Kamil Kolonko made changes -
            Fix Version/s New: 8.0.2 [ 85391 ]
            Fix Version/s Original: 8.0.1 [ 84991 ]
            Kamil Kolonko made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]

              mmarzecki Mateusz Marzęcki
              jkurniawan jimmy
              Affected customers:
              142 This affects my team
              Watchers:
              124 Start watching this issue

                Created:
                Updated:
                Resolved: