#How to create an alert for the first time an issue is created
3 messages · Page 1 of 1 (latest)
Hi @narrow cove. I'm happy to dig into this for you! I'll check my internal sources for answers to your question! :wave:
To create an alert in Sentry that triggers only the first time an issue is created (and not for subsequent occurrences of the same issue), you should use the "When a new issue is created" condition in your alert rule.
Here's how you can do it:
- Go to your Sentry project and navigate to Alerts.
- Create a new Issue Alert.
- In the "When" conditions, select A new issue is created.
- Set your desired actions (such as sending an email, Slack notification, webhook, etc.).
This configuration ensures that the alert will only fire the first time a unique issue appears in your project. It will not trigger again for subsequent events of the same issue, unless the issue is resolved and then re-occurs (in which case, you can also add a condition for regressions if needed) Issue Alert Configuration.
This is the default and recommended way to avoid noisy notifications for repeated errors, focusing your attention on new problems as they arise Top 3 Issue Alert Tips to Stop Noisy Notifications.
Note: If you want to be notified for every occurrence (not just the first), you would remove all "When" conditions, but for your use case, keep only "A new issue is created" as the trigger.