NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Problem

      "Add gadget" window doesn't display all gadgets available for an instance of JIRA.
      There is no "Load all Gadgets" option in the dialog after 60 seconds.

      Actual behavior

      Window displays no gadgets or very few. A warning message appears when loading contents for the "Add gadget" window.

      Failed to load gadgets

      Something went wrong while trying to load the gadgets.

      Try Again

      JIRA logs:

      2015-03-10 10:00:15.749629500 2015-03-10 10:00:15,712 DirectoryEntryResolverThread-7 WARN sysadmin 807x25311x1 1o8lylz 209.203.106.30,165.254.226.146 /rest/config/1.0/directoryitems/local.json [renderer.internal.local.LocalGadgetSpecFactory$Parser] Could not retrieve gadget spec https://site.atlassian.net/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:favourite-filters-gadget/gadgets/favourite-filters-gadget.xml from plugin-provided gadget spec store: null
      

      Notes

      The operation takes a long time, and consumes excessive CPU resources.
      This puts pressure on the whole instance, and is affected by other users that may be attempting to load other JIRA screens.
      In some cases it finishes loading after 50 seconds but after 60 it will timeout and display the error message.

      Steps to reproduce:

      On affected instances, try to "Add Gadget" in a New Dashboard.
      First the message will show:

      and after 60 seconds:

      Workaround

      • Perform the operation again when the site is not being heavily used. A link to "Load all gadgets" should appear in less than 60 seconds and will show the gadgets on later attempts to add gadgets to the same dashboard.
      • Restarting JIRA may also help temporarily.

        1. AddNewGadgetCPUSpike-6_4_4.png
          AddNewGadgetCPUSpike-6_4_4.png
          67 kB
        2. AddNewGadgetCPUSpike-Master.png
          AddNewGadgetCPUSpike-Master.png
          49 kB
        3. Capture.PNG
          Capture.PNG
          41 kB
        4. not all gadgets loaded.png
          not all gadgets loaded.png
          35 kB
        5. Screen Shot 2016-07-30 at 10.05.15 AM.png
          Screen Shot 2016-07-30 at 10.05.15 AM.png
          69 kB
        6. some-gadgets-failed-to-load.png
          some-gadgets-failed-to-load.png
          43 kB
        7. Step1.tiff
          89 kB

            [JRASERVER-43077] Gadgets missing from "Add gadget" window

            Hi filippo.miniati,

            As per my previous comment please refer to / watch JRA-61264 instead.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - - edited Hi filippo.miniati , As per my previous comment please refer to / watch JRA-61264 instead. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

            Hi, can you please reopen the issue? It's really frustrating, and I still get this when I try and add a gadget:

            Filippo Miniati added a comment - Hi, can you please reopen the issue? It's really frustrating, and I still get this when I try and add a gadget:

            Hi pieter18,

            Thanks for your comment. We will record the user-facing symptoms in JRA-61264 so that the information is collated in a single issue.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - Hi pieter18 , Thanks for your comment. We will record the user-facing symptoms in JRA-61264 so that the information is collated in a single issue. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

            Hi @ohernandez do not agree - the JRA-61264 is a technical implementation issue - what is tracked here is what users, including cloud users, are experiencing. And also for me this is not resolved on our cloud instance. Please re-open (which may require solving JRA-61264 first).

            Pieter Dumon added a comment - Hi @ohernandez do not agree - the JRA-61264 is a technical implementation issue - what is tracked here is what users, including cloud users, are experiencing. And also for me this is not resolved on our cloud instance. Please re-open (which may require solving JRA-61264 first).

            Hi epereira@atlassian.com / ignacio.pulgar / lisandro.grassini1160766153 / testing-jira875948905 / anthony.perozzo1240365836,

            The issue that was tracked under this ticket is resolved. Please refer to JRA-61264 that is tracking remaining problems related to the performance and scalability of loading the gadgets directory.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - Hi epereira@atlassian.com / ignacio.pulgar / lisandro.grassini1160766153 / testing-jira875948905 / anthony.perozzo1240365836 , The issue that was tracked under this ticket is resolved. Please refer to JRA-61264 that is tracking remaining problems related to the performance and scalability of loading the gadgets directory. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

            Same issue too for my JIRA Cloud instance.

            Anthony Perozzo added a comment - Same issue too for my JIRA Cloud instance.

            I have the same problem here. Cannot load widget, except Bubble Chart and Introduction

            testing jira added a comment - I have the same problem here. Cannot load widget, except Bubble Chart and Introduction

            Still not working. I have been trying to add an gadget for 2 days now. And is not possible. Please Re-open and fix.

            Deleted Account (Inactive) added a comment - Still not working. I have been trying to add an gadget for 2 days now. And is not possible. Please Re-open and fix.

            This issue is currently happening in at least two JIRA Cloud instances we are in charge of.

            Ignacio Pulgar added a comment - This issue is currently happening in at least two JIRA Cloud instances we are in charge of.

            Hi xiaolei352162172 / avichai.s1097855917 / simon.williams,

            The improvements to the issue described here were already delivered to both JIRA Cloud and Server in the specified fix version/s.

            Having said that, we have identified additional work that needs to be done in this area to further improve the performance and scalability of loading the gadget directory which we are tracking at JRA-61264. Please vote/watch that issue instead.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - - edited Hi xiaolei352162172 / avichai.s1097855917 / simon.williams , The improvements to the issue described here were already delivered to both JIRA Cloud and Server in the specified fix version/s. Having said that, we have identified additional work that needs to be done in this area to further improve the performance and scalability of loading the gadget directory which we are tracking at JRA-61264 . Please vote/watch that issue instead. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              jworley Jason Worley (Inactive)
              Affected customers:
              58 This affects my team
              Watchers:
              95 Start watching this issue

                Created:
                Updated:
                Resolved: