Update Test Run
tm_update_test_runUpdate an open test run — overall status (Passed / Failed / Skipped / In Progress), title, objective, milestones, folder, add test cases (each added case becomes a new test run instance; cases must match the run's type — KaneAI or manual), apply a Configuration to the run's instances (configuration_id; on KaneAI runs it must be kane-supported and platform-compatible with the targeted cases), toggle sequential execution (KaneAI runs), or archive it. Only open (active) runs can be updated; a closed/archived run returns a clear message. Adding cases/milestones appends, never replaces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title | |
| run_id | Yes | Test run ID (ULID) | |
| status | No | Set the run's OVERALL status (independent of per-instance results). Manual runs only — KaneAI run status is managed by KaneAI executions. | |
| archive | No | Archive (close) the run | |
| assignee | No | Assign the run's instances to this organization member: email, username, or user id ("none" clears). Scope with apply_to_test_case_ids. Omit to keep the current assignee. | |
| folder_id | No | Move to this run folder | |
| objective | No | New objective | |
| is_sequential | No | KaneAI runs only: execute the instances sequentially. | |
| milestone_ids | No | Milestone ids to attach (appended) | |
| configuration_id | No | Set ONE Configuration on the run's instances (the configuration's top-level id from tm_list_configurations; each instance carries exactly one configuration) | |
| add_test_case_ids | No | Test case ids to add to the run (appended) | |
| configuration_ids | No | APPEND multiple Configurations: each targeted test case gets an additional instance per configuration (case × configuration, like the UI); existing configured instances are untouched | |
| apply_to_test_case_ids | No | With configuration_id or configuration_ids: only apply to these test cases (default: all instances in the run) |