Forum Discussion
christovskia
Staff
1 day ago| It is not possible to clear or delete the "Actual Start" or "Actual End Date" fields for a test execution in Zephyr Server API (v1) without creating a new test execution. Once these fields are populated, there is no documented API or UI functionality to reset them. Workarounds 1. Manual Deletion: You can manually delete the test execution from the Test Player tab in the UI and create a new execution. 2. API Deletion: Use the `POST /delete/executiondeletion` API endpoint to delete the entire test execution record. This endpoint allows deletion of executions older than a specified date, but it does not support clearing specific fields like start or end dates. Example payload: ```json { "deleteExecutionsCreatedBefore": "YYYY-MM-DDTHH:mm:ss.SSSZ", "projectKey": "YOUR_PROJECT_KEY", "bypassDeletionLimit": true } ``` Note: This deletes the entire execution, not just the date fields. Unfortunately, there is no direct method to reset these fields without creating a new execution. Sources - Zephyr Server General Configuration Documentation (https://support.smartbear.com/zephyr-essential-dc/docs/en/administration/general-configuration.html) |