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

requirementsWithStatusByTestPlan returns query too complex

    XporterXMLWordPrintable

Details

    • R3.0.0 S2
    • UNCOVERED

    Description

      When using the jql function requirementsWithStatusByTestPlan there is an error in the browser console saying queryTooComplex in some JIRA instances and in others the request just stays pending.

      Also there seems to be a performance problem with requirementsWithStatusByTestPlan because even for Test Plans with only 1-2 Tests the query takes a lot of time to complete.

      The solution it's to optimize the current calculations and to add a new optional argument to the JQL function. The new parameter should be added to the end, and should receive a String that may be both a Project ID/key or a Filter ID/key. Then the results should be filtered according to the parameter provided.

      Then this new JQL should be called in the Overall Requirement Coverage gadget to avoid "Query too complex" errors.

      Attachments

        Issue Links

          Activity

            People

              xcfe Xavier Fernandes
              ampr Andre Rodrigues [X] (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 7 hours
                  7h
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 7 hours
                  1h