Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-6914

When using a user-written JQL filter with OR in datatables, the final JQL is not correct and the datatable can load indefinitely

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 4
    • OK

    Description

      When using a user-written JQL filter with OR in datatables, the final filters JQL is not correct and can result in the datatable taking too long to load or loading indefinitely.

      Steps to reproduce:

      1. Create a Test Plan (or other Xray issue).
      2. Add 1 Test to the Test Plan.
      3. Open the Filters, select the Advanced tab, and write a JQL with an OR so that the second OR clause has many results (e.g. 950k issues), e.g.:
      "Automation Status" not in (Automated, Certified, "In Progress") OR "Automation Status" = null 

      Actual result: The datatable takes too long to load or loads indefinitely.

      Expected result: The datatable should finish loading.

      Attachments

        Activity

          People

            pablo.pena Pablo Peña
            pafp Patricia Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: