Link Defect To Test Case
link_defect_to_test_caseLink a defect to a test case through a shared issue mapping, connecting defect governance with test coverage for traceability.
Instructions
Link a defect to a test case through a shared issue mapping.
This operation ensures defect governance and test coverage are connected: the issue is linked to the defect and to the specified test case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| defect_id | Yes | ID of the defect to link | |
| issue_key | No | Issue key to use for linking (for example, PROJ-123). If omitted, the defect's existing issue mapping is reused. | |
| test_case_id | Yes | ID of the test case to link | |
| output_format | No | Output format: 'json' (default) or 'plain'. | |
| integration_id | No | Optional integration ID for issue mapping. Mutually exclusive with integration_name. | |
| integration_name | No | Optional integration name for issue mapping. Mutually exclusive with integration_id. |