sentry icon indicating copy to clipboard operation
sentry copied to clipboard

No way to tell if an Issue was unlinked through Sentry

Open skbogner opened this issue 1 year ago • 1 comments

Problem Statement

The Linear integration doesn't know if an issue has been unlinked on the Sentry side.

When you create or link a Sentry issue to a Linear issue we record this link on our end. But if you then remove the link/connection in Sentry (click the little X on an issue page), we have no way of knowing this happened and will continue to react to webhooks regarding that issue.

Solution Brainstorm

We would like either (or both):

  1. A webhook if an issue is unlinked in Sentry.
  2. When looking up an issue in Sentry through API, get information on external issues linked to the issue. This way we could at least double check, before making changes based on webhooks, that the issue is still linked.

Product Area

APIs

skbogner avatar Oct 18 '24 09:10 skbogner

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Oct 18 '24 10:10 getsantry[bot]

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

getsantry[bot] avatar Oct 21 '24 11:10 getsantry[bot]

Thanks for reporting @skbogner. We currently don't have webhooks for link and unlink, it seems like a useful feature though. Will add it to backlog to look back at it.

sentaur-athena avatar Oct 21 '24 17:10 sentaur-athena

Adding a note here as we have another customer who requested this functionality Customer Case here https://www.notion.so/sentry/Webhook-for-link-unlink-action-in-Issues-17a8b10e4b5d80e9acb0efa70412d41b

gid-sentry avatar Jan 13 '25 15:01 gid-sentry

Thanks for linking the customer case @gid-sentry. I'll post an updates when I have timelines.

sentaur-athena avatar Jan 14 '25 21:01 sentaur-athena

FYI, In the meantime integrators can query this endpoint: GroupExternalIssuesEndpoint and path, which we're working to publish officially soon, to see if an issue is linked/unlinked. This endpoint will return all custom integrations the issue is linked to. If the issue is not linked, the endpoint will return nothing.

Christinarlong avatar Jan 27 '25 19:01 Christinarlong