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

As a system, the "Test Environments" loading, might cause some delay when accessing Test Plans

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.3
    • Xray DC V7.0.2
    • User Interface
    • None
    • Xray 2023 S12
    • OK

    Description

      Description
      When accessing Test Plans, the endpoint /rest/raven/1.0/testenvironment/listWithDefaults is taking more time than expected, on heavy environments (considering the amount of issues and test Environments)

      "Xray calls the Jira service which makes a heavy Lucene call. Jira uses a load all issues (*optimized to get only the field labels) approach and then filters by the ones having labels (Test environments are labels) thus making the first load very slow."

      How to reproduce

      1. Open a Test Plan issue

      Actual result/Attachments

      Attachments

        1. screenshot-1.png
          148 kB
          Miguel Fernandes

        Activity

          People

            masg Marco Guedes
            maaf Miguel Fernandes
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 5 hours
                2d 5h