Conversation
betegon
force-pushed
the
bt/cli-issue-link-unlink
branch
from
October 2, 2026 17:22
717a2fa to
6bca776
Compare
betegon
force-pushed
the
bt/cli-issue-unlink
branch
from
October 2, 2026 17:54
e4e94e4 to
3bb7b24
Compare
betegon
force-pushed
the
bt/cli-issue-link-unlink
branch
from
October 5, 2026 10:01
8af0cc3 to
3321a95
Compare
betegon
force-pushed
the
bt/cli-issue-unlink
branch
from
October 5, 2026 10:01
3bb7b24 to
dc88fda
Compare
Remove stored external issue associations through @sentry/api, reusing link discovery and URL matching. Preserve standard deletion confirmation, dry-run previews, and successful no-ops when an association is absent. Co-Authored-By: GPT-6 <noreply@openai.com>
betegon
force-pushed
the
bt/cli-issue-unlink
branch
from
October 5, 2026 11:16
dc88fda to
b87b442
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1373. Review this PR against
bt/cli-issue-link-unlink; merge the link PR first.Adds
sentry issue unlink <issue> <url>to remove an external issue or GitHub pull request association without deleting either issue or changing the Sentry issue's status. Uses the CLI's standard confirmation flow,--yes,--dry-run, and JSON output; an already-absent link succeeds withchanged: false.Reuses the integration discovery, URL matching, formatting, and cache invalidation from the link PR.
@sentry/apisends Sentry's stored association ID to the existing native or App DELETE endpoint, so unlinking does not need a working remote ticket or an App link form. Requiresevent:writeand project access; older Sentry versions may still requireevent:admin. No retry or cache policy changes.Validated with 324 focused tests, typechecks, lint, regenerated docs/SDK, and 12 bundled CLI calls against local HTTP fixtures. The full CLI suite has 10,360 passing tests, 14 skipped, and the pre-existing macOS musl installer failure. No production deletion was performed.