Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 10.0.0
-
None
-
None
-
Jira Cloud
Description
Summary
requirements('OK','XSP15','','','','','Saved filter') JQL function ignores the scope of the "Saved filter" argument.

Description
When using the requirements('OK','XSP15','','','','','Saved filter') JQL function and passing a saved filter as the last argument, the function returns all requirements within the specified project instead of filtering them by the saved filter's results.
Pre-conditions
A Test Plan exists (e.g., XSP15-33) with specific requirements indirectly associated.
A saved filter is created using the JQL: issue in testPlanRequirements("XSP15-33").
How to reproduce:
- Create a saved filter (e.g., named "Xra") with the query: issue in testPlanRequirements("XSP15-33").
- Navigate to the Issue Navigator.
- Run the following JQL: issue in requirements('NOK','XSP15','','','','','Xra').
- Observe the number of issues returned.
Actual result:
The JQL retrieves all requirements in the project XSP15 with Overall Status - OK, completely ignoring the constraints of the "Xra" filter.
Expected result:
The JQL should only return issues that meet the project criteria, Status AND are included in the results of the "Xra" filter.