Remove non-org-scoped API endpoints
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- api
Research direction
Start in src/lib/api/alerts.ts and compare the affected issue-alert functions with sentry-mcp's listIssueAlertRulesPage() implementation pattern. Update the five listed functions to use the organization-scoped workflows endpoints, while leaving getReplayRecordingSegments and getTraceItemDetail unchanged because no replacement is available. Done means those listed requests no longer use the deprecated project-scoped rules paths.
Written by the indexing model from the issue text.
Description
Summary
/projects/{org}/{project}/rules/ (issue alert rules) was formally deprecated on 2026-05-14 with active brownouts — Sentry returns HTTP 410 GONE every 2 hours for 2 minutes. These are actively failing for users. This is urgent.
The replacement is /organizations/{org}/workflows/. sentry-mcp already uses this — see listIssueAlertRulesPage() there for the implementation pattern.
Affected endpoints in src/lib/api/alerts.ts
-
listIssueAlertsPaginated()—/projects/${org}/${project}/rules/→/organizations/${org}/workflows/ -
fetchIssueAlertRuleJson()/getIssueAlertRule()—/projects/${org}/${project}/rules/${id}/→/organizations/${org}/workflows/?id=${id} -
deleteIssueAlertRule()— DELETE/projects/${org}/${project}/rules/${id}/→ DELETE/organizations/${org}/workflows/${id}/ -
putIssueAlertRule()— PUT/projects/${org}/${project}/rules/${id}/→ PUT/organizations/${org}/workflows/${id}/ -
createIssueAlertRule()— POST/projects/${org}/${project}/rules/→ POST/organizations/${org}/workflows/
Not formally deprecated — no org-scoped equivalent yet
getReplayRecordingSegments and getTraceItemDetail use project-scoped paths with no @deprecated marker. Blocked on getsentry/sentry#118963.
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·