update_run_test_case
Set assignee and/or result for a single test case inside a manual run, supporting caseKey, RTC ID, or test case _id.
Instructions
Set the assignee and/or result for one test case inside a manual run — exactly what clicking 'Assign to' and changing the result pill does in the UI. Requires write permission. rtcRef accepts the caseKey ('TC-156'), the internal tcm_rtc_... RTC ID, or the underlying test case _id. Works for both already-touched cases and 'untested' virtual cases (the server auto-creates the per-case record on first edit). IMPORTANT: updates.assigneeUserId accepts an email OR a User _id — both work. updates.result canonical values are 'untested', 'passed', 'failed', 'blocked', 'skipped', 'retest' — pass display ('Passed', 'Blocked') or canonical form, server normalizes lowercase+underscored. To assign or update multiple cases at once, call this tool in parallel (one call per case).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project ID (required). | |
| runId | Yes | Internal run _id or counter-style ID e.g. 'RUN-12' (required). | |
| rtcRef | Yes | Per-case record reference — `tcm_rtc_...` _id, caseKey ('TC-156'), or underlying test case _id (required). | |
| updates | Yes | Fields to update: assigneeUserId (email or _id, pass null to unassign), result/status (display or canonical form), elapsed (seconds). |