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

The FindOnBoard.jspa?sprintId "Find on a board" link is extremely slow and fails to load

XMLWordPrintable

      Issue Summary

      Post upgrade to Jira 9, /secure/FindOnBoard.jspa link is extremely slow and fails to load,

      i.e after clicking the link present in "Completed sprints" from "edit issue" section, it navigates to  to /secure/FindOnBoard.jspa?sprintId

      • The same endpoint is accessed when you click the URL for Active Sprint on "issue view"

      e.g: https://jiraserver.test.com/jira/secure/FindOnBoard.jspa?sprintId=132345

      This is extremely slow ~ 2.3 minutes and fails to load afterwards.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Open a Jira issue associated with completed Sprints
      2. Click on the "Edit" button (the "Edit Issue" dialog should open)
      3. In the "Edit Issue" dialog, scroll down to "Completed sprints"
      4. Click on any of the sprints listed there (either directly or to open in new tab)
      5. Jira stays stuck loading forever 

      Note:

      • Number of boards ~28k
      • Number of Sprints ~203828{}

      Expected Results

      Loading of board should load faster and successful 

      Actual Results

      Loading of board is stuck and it results client timeout.

      A Communications breakdown pop-up might also appear.

      Workaround

      1. Increase AJAX calls timeout

      2. If possible, reduce the number of boards and their complexity:

      • Check scrum boards. Check the sprint dates for the current/last sprint. If a project is inactive then it is highly likely that sprints have not been planned in the recent few months.
      • Check kanban board. Run the created/resolved chart for the filter/project in that Kanban board and see. Again, if the project is inactive then not many new issues would had been created in recent past.
      • Check empty JQL board.
      • The list of JQL filters associated with all Boards can be retrieved running the below query:
        select rv."ID", rv."NAME", sr.reqcontent from searchrequest sr, "AO_60DB71_RAPIDVIEW" rv where rv."SAVED_FILTER_ID" = sr.id;
        

      3. Disable the View on board functionality:

      • Block calls to /secure/FindOnBoard.jspa at proxy level
      • please see example for Apache Httpd:
        RewriteEngine On
        RewriteRule ^/secure/FindOnBoard.jspa - [F]
        
      • for nginx
          # Blocked FindOnBoard because of severe performance impact. Links
          # are not supposed to be accessible but people seem to keep find them.
          location = /secure/FindOnBoard.jspa {
            error_page 403 /403-page-disabled.html;
            return 403;
          }

      4. Add code to the announcement banner to disable the link and hide the "Find on a board" link:

      • Replace MYCONTEXT with the context you have configured on your server.xml or remove it if you don't have one.
        <style>
        .js-find-on-board-issue {
            display: none;
        }
        a[href^="/MYCONTEXT/secure/FindOnBoard.jspa"] {
          color: currentColor;
          text-decoration: none;
          pointer-events: none;
        }
        </style>

              bornatowski Bartosz Ornatowski
              1ece1773342d Sandip Shrivastava
              Votes:
              12 Vote for this issue
              Watchers:
              24 Start watching this issue

                Created:
                Updated:
                Resolved: