Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Use an Issue Alert configured for the
production environment.
- Configure Slack as an alert action.
- Trigger the alert with an event whose environment is
production.
- Open the issue link included in the Slack notification.
- Check the
environment query parameter in the generated URL.
The issue and alert are correctly associated with production.
Expected Result
The issue link generated in the Slack notification should preserve the environment that triggered the alert.
For a production alert, the generated URL should contain:
environment=production
Actual Result
The Slack notification contains an issue link with:
environment=development
even though the alert was triggered by a production event and the alert rule is configured for the production environment.
For example, the generated link uses an environment filter different from the environment that triggered the alert.
As a result, clicking the Slack notification opens Sentry with the wrong environment filter applied.
Product Area
Alerts
Link
No response
DSN
No response
Version
No response
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
productionenvironment.production.environmentquery parameter in the generated URL.The issue and alert are correctly associated with
production.Expected Result
The issue link generated in the Slack notification should preserve the environment that triggered the alert.
For a production alert, the generated URL should contain:
environment=productionActual Result
The Slack notification contains an issue link with:
environment=developmenteven though the alert was triggered by a production event and the alert rule is configured for the
productionenvironment.For example, the generated link uses an environment filter different from the environment that triggered the alert.
As a result, clicking the Slack notification opens Sentry with the wrong environment filter applied.
Product Area
Alerts
Link
No response
DSN
No response
Version
No response