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

JQL Functions are not retrieving correct values

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Fixed
    • Xray Cloud 7.2.0
    • FPC#30
    • JQL Function, JQL Search
    • None
    • Jira Xray Cloud

    Description

      Description

      JQL functions are not retrieving the correct results after being updated in the Execution or Test Plan level.
      Issue with the JQL not updating the results after they are removed or added to any of the issues, like Test Executions or Plans.
      It takes 1 week or more, but it hasn't been updated.
      Example JQLs - testExecutionTests(), testPlanTestExecutions(), testplantests(), testsWithoutTestExecution("SaverFilter"), manualTestsWithoutSteps()

      Pre-conditions

      • Create a Test Execution.
      • Add 2 Existing Test To it.
      • Wait for 6 ot 7 hours for the Jira cache mechanism to update data.

      How to reproduce

      1. From above precondition Take the JQL function - testExecutionTests("Test Execution Key")
      2. The results will return no data, or if you remove any Test from Test Execution, use the Same JQL function, it will return wrong data.
      3. We have a video reference attached to it, where it has been 2 days, but the results are not updated.

      Actual result/Attachments

      The JQL is not returning the correct value, as it gives an outdated value. Please see the video reference - Recording 2026-02-11 191519.mp4

      Expected result

      The JQL should return the correct value.

      Version

      • 7.2.0

      Workaround

      Here we can use the filter of a particular key and use that filter in the JQL function, for example -
      Create a Filter in Jira where you just pass key= Test Execution Key and then use this same filter inside the JQL issue IN testExecutionTests("FilterName") and the results reflect correctly. Please see the workaround video - Recording 2026-02-11 174157.mp4
       

      Attachments

        1. Recording 2026-02-11 174157.mp4
          28.49 MB
          C Kiran Kumar
        2. Recording 2026-02-11 191519.mp4
          37.64 MB
          C Kiran Kumar

        Activity

          People

            sdcv Sergio Vieira
            kiran.kumar C Kiran Kumar
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: