getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.2k stars 4.2k forks source link

Navigating to an issue from the alerts page includes invalid query #76900

Open IanWoodard opened 2 months ago

IanWoodard commented 2 months ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Navigate to the alerts page:

Image https://sentry.sentry.io/alerts/rules/details/115704/?alert=114444&referrer=metric_alert_slack&detection_type=static&notification_uuid=78abac86-5d87-4332-bac3-e43feaab56c1

  1. Navigate to a related issue: Image https://sentry.sentry.io/issues/5793515499/?query=start%3D2024-08-31T18%3A03%3A00%26end%3D2024-09-03T22%3A34%3A46%26groupStatsPeriod%3Dauto&referrer=alerts-related-issues-issue-stream

  2. From within that issue, click on Issues in the breadcrumb menu at the top: Image

Expected Result

An issues feed with a valid search query

Actual Result

An issues feed with a custom search query that isn't valid (no issues match my search) https://sentry.sentry.io/issues/?project=2423079&query=start%3D2024-08-31T18%3A03%3A00%26end%3D2024-09-03T22%3A34%3A46%26groupStatsPeriod%3Dauto&referrer=alerts-related-issues-issue-stream&statsPeriod=14d

Image

Product Area

Issues

Link

https://sentry.sentry.io/issues/5793515499/?project=2423079&query=start%3D2024-08-31T18%3A03%3A00%26end%3D2024-09-03T22%3A34%3A46%26groupStatsPeriod%3Dauto&referrer=alerts-related-issues-issue-stream

DSN

No response

Version

No response

getsantry[bot] commented 2 months ago

Routing to @getsentry/product-owners-issues for triage ⏲️