Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Fixed
-
Xray Cloud 7.2.0
-
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
- From above precondition Take the JQL function - testExecutionTests("Test Execution Key")
- 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.
- 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
Â