Details
-
Bug
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 6.4.0
-
None
-
None
-
Jira Cloud, Postman for API, or Chrome for UI
Description
Description:
While updating Test Run using JSON execution results, the existing link between Test Execution and Defects is removed, even if we include the Defect Key in the results JSON file.
Pre-conditions:
N/A
How to reproduce
- Add a Defect to an existing Test Run. On the Test Execution issue, we can see the Defect link as "Created".
- Now, from UI( Test Execution > Import Execution Results) or from REST API /api/v2/import/execution import the following JSON results file:
{"testExecutionKey": "MUR-25", "info": {"summary": "Some Summary" }, "tests": [ {"testKey": "MUR-7", "start": "2025-06-11T00:00:00+00:00", "finish": "2025-06-11T00:15:00+00:00", "status": "Failed", "defects": ["MUR-35"]}]}
Actual result/Attachments:
The Defect link with the Test Execution issue is removed.
The history of the Test Execution shows the removed Defect link log. The Test and Test Run page retains the Defect.
Expected result:
The Defect link should be retained on the Test Execution as the JSON file contains the Defect issue Key.
Version
- Xray Cloud 6.4.0