Skip to content

Feature Request: Create a new external issue from a Sentry issue via MCP #1257

Open

Description

@ig-sentry

Summary

Expose “Create external issue” as an MCP tool (or an update_issue action), so an agent can file a new ticket in Linear / Jira / GitHub / GitLab / etc. from a Sentry issue and have it linked automatically.

This is the half of external-issue support that is not covered by PR #1027.

Related:

Filing on behalf of customer.

Problem

Sentry’s UI already supports:

  1. Link this Sentry issue to an existing external ticket
  2. Create a new external ticket from this Sentry issue

MCP is only getting (1). After #1027:

update_issue({
  organizationSlug: "my-org",
  issueId: "PROJECT-123",
  externalIssueUrl: "https://github.com/getsentry/sentry/issues/123",
})

Activity

  1. linear-code commented on Aug 20, 2026

    @linear-code
  2. JonaC22 commented on Aug 25, 2026

    @JonaC22

    I second this 🙏🏻

  3. betegon commented on Sep 28, 2026

    @betegon
    Member

    linking existing tickets is now live! For the create-and-link workflow, your agent can create the ticket using your issue tracker’s tools, then pass its URL to Sentry’s link_issue.

    Would that cover your workflow, or is there something specific you need from Sentry’s “Create issue” flow?

  4. JonaC22 commented on Sep 29, 2026

    @JonaC22

    linking existing tickets is now live! For the create-and-link workflow, your agent can create the ticket using your issue tracker’s tools, then pass its URL to Sentry’s link_issue.

    Would that cover your workflow, or is there something specific you need from Sentry’s “Create issue” flow?

    Thanks! link_issue would help our workflow. Our agent reviews Sentry issues and creates a Linear issue when one needs tracking. It could then pass the Linear URL to link_issue.

    The broader goal is to make that link useful throughout the issue’s lifecycle: see from Sentry that an issue is already tracked in Linear, and have the Sentry issue resolved when the Linear issue is completed.

  5. betegon commented on Sep 29, 2026

    @betegon
    Member

    thanks, that workflow should be covered! link_issue uses the existing Linear integration, so the ticket appears under Linked Issues in Sentry.

    your agent can also use get_issue_details to inspect existing links before creating another ticket. Completing the Linear issue should automatically resolve the linked Sentry issue through the integration, as described in Linear’s docs. That doesn’t require another MCP action!

    Give it a try and let us know if either the link visibility or status sync isn’t working as expected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions