Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-8919

When opening "requirement issue types" Xray Server is pre-loading all the versions available in the project.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Filters, Issue view page
    • None
    • UNCOVERED

    Description

      When opening "requirement issue types" Xray Server is pre-loading all the versions available in the project.
      This is causing performance issue, because the client is seeing in projects where there are a lot of versions.
      And this is not what we're doing in other issues.
       
      Adding chrome browser performance report, what is possible to see that there is a big scripting duration within “success“ call and this success call is from Xray looking through versions.

      f.ajax({type:"GET",url:contextPath+"/rest/raven/1.0/requirement/"g()"/strategy/version",contentType:"application/json",success:function(k)

      the the project where we have this issue has more than 8000 versions as it belongs to a complex project with multiple IT products in it.
      It does not happen with projects where it has such number of versions.

      JS compression will impact t how the js is dowloaded, but our cases JS is already downloaded and cached in browser, it is really during script execution.

      The line called by the script belongs to below module
      /* module-key = 'com.xpandit.plugins.xray:requirement-test-coverage-view-resources', location = 'js/issueview/requirement-test-coverage-filter-view.js' */

       

      More information: from Firefox where JS and static files they do not crash browser during rendering the xray pages. But on all the chromium browser (Chrome, Opera, Edge) error is persistent and make xray pages loading sluggish.

      Attachments

        Activity

          People

            dpca Diamantino Campos
            cdhp Cesar Pedroso [X] (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: