project create: Add a flag to skip the default alert rule
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Start with the project create command and trace how it builds the project creation request. The API request type in packages/cli/src/lib/api/projects.ts already includes default_rules?: boolean; check how command flags are parsed and passed through. Done when the proposed flag sends default_rules: false and the command’s tests cover the behavior.
Written by the indexing model from the issue text.
Description
sentry project create always adds the default alert ("Send a notification for high priority issues"). There is no flag to turn this off.
The API already supports it: POST /teams/{org}/{team}/projects/ accepts default_rules: false, and packages/cli/src/lib/api/projects.ts already has default_rules?: boolean in the request type. But the project create command does not expose it.
This is useful for test, demo, and reproduction projects, where the default alert only makes noise. Now the only workaround is the raw API:
sentry api /teams/<org>/<team>/projects/ --method POST \
--raw-field name=my-app --raw-field slug=my-app --raw-field platform=node \
--field default_rules=false
Proposal: add a flag, for example sentry project create my-app:node --no-alerts (or --no-default-rules), that sends default_rules: false.
CLI version: 0.50.0
- Dominant language
- TypeScript
- Stars
- 975
- Forks
- 189
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 571
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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/toolkit
-
Rejected regionUrl errors don't say how to recover when an agent passes the organization's web URLOpenmcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/toolkit#2777 · 1 comment ·
Maintainers usually reply within 1 day
-
mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
getsentry/toolkit#2458 · 4 comments ·
Maintainers usually reply within 1 day
-
mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
getsentry/toolkit#2362 · 1 comment ·
Maintainers usually reply within 1 day
-
mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getsentry/toolkit#2315 · 1 comment ·
Maintainers usually reply within 1 day
-
link_issue passes through a misleading 404 when an integration token lists Sentry App installationsOpenmcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
getsentry/toolkit#2295 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/toolkit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:vscode bug has repro platform:macos platform:vscode regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
effort/l priority/p1 risk/high triage/core
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
iflytek/skillhub#1188 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Fission-AI/OpenSpec#2337 ·
Maintainers usually reply within 1 day