link_issues_to_test_cases
Link Jira issues to test cases in bulk to avoid manual one-by-one linking. Submit up to 2500 unique test case and issue key pairs per call.
Instructions
Link Jira issues to test cases in bulk (POST /testcase/link-issues). One entry links one test case to one issue; repeat a testCaseKey across entries to link it to several issues. At most 2500 UNIQUE test case keys per call — checked locally, before any request. Additive: it only creates links, never removes existing ones. KNOWN ISSUE: on many Server/DC builds this endpoint answers HTTP 500 with an empty body even for a single valid pair (verified live on such a stand); link through update_test_case (or create_test_case) with the issueLinks field instead — that field REPLACES the case's whole link set, so send the complete final list. Returns the API payload, or { linked: } when the API answers with an empty body (the usual case).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | Pairs of { testCaseKey, issueKey }, e.g. [{ testCaseKey: "PROJ-T1", issueKey: "PROJ-123" }] |