Home / Servers / Sentry API / link_an_existing_external_issue_to_an_issue

Link an issue that already exists in the external provider (such as a Jira ticke

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Link an issue that already exists in the external provider (such as a Jira ticket or GitHub issue) to the given Sentry… Additional accepted fields are integration-specific; fetch them from the linkIssueConfig returned by the GET endpoint with ?action=link. Linking the same issue again returns the existing link with… [PUT /api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/{integration_id}/]

Name on the gateway: sentry_api__link_an_existing_external_issue_to_an_issue · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
issue_id requiredstringThe ID of the issue you'd like to query.
integration_id requiredstringThe ID of the integration installed on the organization.
externalIssue requiredstringThe identifier or full URL of the existing external issue to link. URL support…
repostringThe repository containing the external issue, in owner/name format. Required…
commentstringAn optional comment to post to the external issue when linking, if supported…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__link_an_existing_external_issue_to_an_issue",
  "arguments": {
    "organization_id_or_slug": "…",
    "issue_id": "…",
    "integration_id": "…",
    "externalIssue": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the link an issue that already exists in the external provider (such as a jira ticke tool with organization_id_or_slug set to ….

More from Sentry API