Link test case to issue
link_to_issueLink a test case to an external issue (e.g. a Linear/Jira issue) for traceability. Resolve sourceId/relation via get_external_sources. This writes the link in TestOrchestrator only; it does not modify the external tracker.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"caseId": "<caseId>",
"sourceId": "<sourceId>",
"issueKey": "<issueKey>"
},
"name": "link_to_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional issue title for display. | |
| caseId | Yes | Test case id to link. | |
| project | Yes | Project id the case belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted. | |
| issueKey | Yes | External issue key, e.g. 'ENG-123'. | |
| issueUrl | No | Optional issue URL (derived from the source when omitted). | |
| sourceId | Yes | Integration source id (from get_external_sources). | |
| relationType | No | What the link means. COVERS = the case covers this requirement (counts as coverage); DEFECT = this issue is a defect found by the case. Omitted defaults to RELATED, which is unclassified — the link shows but counts as neither. Resolve available relations via get_external_sources. |