getsentry / getsentry/sentry

Allow finding tombstones by issue group id

Open
#107,959 8 comments 0 reactions 0 assignees View on GitHub
Improvement Product Area: Issues
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

### Problem Statement

I am unable to associate tombstones back to the issue once delete and discarded. I need a way to find tombstones by its old issue group id, so that I can remove delete and discard issues correctly through the API.

### Solution Brainstorm

We should expose an endpoint that supports finding tombstones by its previous issue group id: `https://sentry.io/api/0/projects/{org-slug}/{project}/tombstones/?issue_group_id=12345`

### Product Area

Issues

Contributor guide

Open the contributing guide

Research direction

Start by locating the API entry point for the tombstones endpoint and the existing handling of issue_group_id. Trace how discarded issues are represented, then verify the endpoint can find tombstones using their previous issue group ID and supports the stated delete and discard API workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.