Dashboard environment filter not preserved when opening issue detail
Open
@DominikB2014 is already working on this.
Since Jun 22, 2026.
Bug
Product Area: Dashboards
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Open a dashboard with an environment filter set (e.g.
production) — note the URL contains?environment=production&statsPeriod=30d - Click on any issue from a dashboard widget (e.g. via the "Open issue" context menu or direct link)
- Observe the Issue Details page URL and environment picker
https://github.com/user-attachments/assets/9ca8ca24-7e53-4477-b72a-f373f491cbd4
Expected Result
The Issue Details page inherits the environment selected on the dashboard. The environment query param should be forwarded when constructing the navigation link.
Actual Result
The Issue Details page drops the environment context entirely. The env picker shows "All Envs" and the URL contains only ?project=<id> so the environment (and statsPeriod) params from the dashboard URL are absent.
Product Area
Dashboards
Link
No response
DSN
No response
Version
No response
Contributor guide
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.
Assessment
This issue has not been assessed yet.