Copy Test Run
copy_test_runDuplicate an existing test run and its test cases within the same project. Use it to create a fresh run with all cases reset to UNTESTED and optional name, deadline, assignee, or description overrides.
Instructions
Creates a copy of an existing test run along with its test cases.
The copy is created in the same project as the source run: this endpoint takes no project parameter, so a run cannot be copied across projects. The case selection is carried over in full and cannot be narrowed here; use create_test_run when a different selection is needed. Results are not carried over: every case in the copy starts UNTESTED even if the source run had recorded results (verified live against a sandbox project).
Every optional argument below overrides the corresponding attribute on the copy. Leaving one unset keeps the source run's own value rather than clearing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | name for the new test run | |
| deadline | No | YYYY-MM-DD date | |
| test_run | Yes | ID or name of the test run to copy | |
| assigned_to | No | ID, name, or email of the user. If specified, the new test run will be assigned to this user. | |
| description | No | description of the new test run |