sentry icon indicating copy to clipboard operation
sentry copied to clipboard

[Epic] Issue Priority 🔺

Open malwilley opened this issue 1 year ago • 0 comments

Internal Product Doc Internal Tech Spec

The current Issue Stream is a mix of low, medium, and high priority issues, which can make it difficult for developers to find the issues they care about. By adding priority as an explicit issue state, we can give our users tools to reduce stream noise and prioritize meaningful work.

Goals

  • Add concept of priority to issues
  • Allow priority to be defined by issue type owners (on creation and update over time)
  • Allow priority to be changed by the end user, both in issue details and in the stream
  • Update priority automatically through escalation
  • Allow sorting and filtering by priority in the issue stream

Milestone 1: Introduce priority to issues

The first step will be introducing priority to our database model, issue platform, and to the UI surfaces (issue details and stream). After this milestone is complete, users should be able to see and change priority. Additionally, partner teams owning other issue types should be able to set priority on creation or update over time using the issue platform APIs.

### Rollout
- [ ] https://github.com/getsentry/sentry/issues/63653
- [ ] https://github.com/getsentry/sentry/issues/64599
- [ ] [After GA] Remove feature flag
- [ ] EA Issue Priority
- [ ] Add documentation for issue priority
- [ ] GA Issue Priority
- [ ] Analytics
### Database schema changes
- [ ] https://github.com/getsentry/sentry/issues/63280
- [ ] https://github.com/getsentry/sentry/issues/63283
### Add new Activity and GroupHistory entry types
- [ ] https://github.com/getsentry/sentry/issues/63649
- [ ] https://github.com/getsentry/sentry/issues/63650
### Modify issue endpoints
- [ ] https://github.com/getsentry/sentry/issues/63266
- [ ] https://github.com/getsentry/sentry/issues/63267
- [ ] https://github.com/getsentry/sentry/issues/63268
### Issue creation
- [ ] https://github.com/getsentry/sentry/issues/63310
### Escalation
- [ ] https://github.com/getsentry/sentry/issues/63764
- [ ] https://github.com/getsentry/sentry/issues/63766
- [ ] https://github.com/getsentry/sentry/issues/63765
### Issue Platform
- [ ] https://github.com/getsentry/sentry/issues/63917
- [ ] https://github.com/getsentry/sentry/issues/63918
- [ ] https://github.com/getsentry/sentry/issues/64185
### Alerts 
- [ ] https://github.com/getsentry/sentry/issues/64420
### UI Changes 
- [ ] https://github.com/getsentry/sentry/issues/64187
- [ ] https://github.com/getsentry/sentry/issues/64423
- [ ] https://github.com/getsentry/sentry/issues/64424
- [ ] https://github.com/getsentry/sentry/issues/63654

Milestone 2: Add the ability to sort and filter on priority in the issue stream

Milestone 1 added priority to the data model and UI surfaces. This milestone goes one step further and allows filtering and sorting by priority in the issue stream. When this milestone is complete, users should have a new default issues stream view which filters out low priority issues. They should be able to create custom searches for priority types and be able to sort on priority as well.

### Issue priority search
- [ ] Add backend support for `issue.priority` search term
- [ ] Add database index to improve speed for default search
### UI Changes
- [ ] Update the default search to filter out low priority issues
- [ ] Remove issues from stream when marking as low priority
- [ ] Update name of currrent priority sort to "Trends"

malwilley avatar Jan 11 '24 18:01 malwilley