getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.94k stars 4.18k forks source link

No way to tell if an Issue was unlinked through Sentry #79352

Open skbogner opened 4 days ago

skbogner commented 4 days ago

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

getsantry[bot] commented 4 days ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 day ago

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

sentaur-athena commented 1 day ago

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.