copy_executions_to_cycle
Copy test executions into a cycle, preserving their original status and defect links. Optionally reset statuses or drop defect links.
Instructions
Copy executions into cycle cycle_id, preserving their original status and defect links.
Unlike add_tests_to_cycle_from_cycle, this tool carries over the execution
status (PASS, FAIL, etc.) and defect associations from the source executions.
Set clear_status_flag=True to reset statuses to UNEXECUTED, or
clear_defect_mapping_flag=True to drop defect links on copy. If you want
fresh UNEXECUTED executions without any prior results, prefer
add_tests_to_cycle_from_cycle instead.
project/version accept keys/names or ids (prefer ids to skip a lookup;
-1 = Unscheduled). Async: with wait=True (default) polls to completion
and returns the final job payload; with wait=False returns {jobProgressToken}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle_id | Yes | ||
| executions | Yes | ||
| project | Yes | ||
| version | Yes | ||
| clear_status_flag | No | ||
| clear_defect_mapping_flag | No | ||
| wait | No | ||
| timeout | No |