chore(assignment): Add analytics when autoassigning after a manual assignment#45099
chore(assignment): Add analytics when autoassigning after a manual assignment#45099
Conversation
| } | ||
| ) | ||
|
|
||
| activity = Activity.objects.filter( |
There was a problem hiding this comment.
Idk much about the autoassignment feature, this was tricky to figure out so I hope it's right 😬 if it's not please point me towards how I can determine if an issue already has a manual assignment.
| project_id=project_id, | ||
| group_id=event.group.id, | ||
| ) | ||
|
|
There was a problem hiding this comment.
Thinking about just returning early here now - initially I thought we'd gather metrics first and then stop auto-assigning when it's already been manually assigned, but we can still gather metrics for when we would have done it.
There was a problem hiding this comment.
I'd be ok with this too
There was a problem hiding this comment.
I think I'll just merge this for now and go back tomorrow to return early and write a test 😎
NisanthanNanthakumar
left a comment
There was a problem hiding this comment.
looks good!
|
PR reverted: e25998f |
* master: (79 commits) feat(perf-issues): Add performance issue detection timing runner command (#44912) Revert "chore: Investigating org slug already set to a different value (#45134)" fix(hybrid-cloud): Redirect to org restoration page for customer domains (#45159) bug(replays): Fix 500 error when marshaling tags field (#45097) ref(sourcemaps): Redesign lookup of source and sourcemaps (#45032) chore: Investigating org slug already set to a different value (#45134) feat(dynamic-sampling): Implement prioritize by project bias [TET-574] (#42939) feat(dynamic-sampling): Add transaction name prioritize option - (#45034) feat(dyn-sampling): add new bias toggle to project details for prioritise by tx name [TET-717] (#44944) feat(admin) Add admin relay project config view [TET-509] (#45120) Revert "chore(assignment): Add analytics when autoassigning after a manual assignment (#45099)" feat(sourcemaps): Implement new tables supporting debug ids (#44572) ref(js): Remove usage of react-document-title (#45170) chore(py): Consistently name urls using `organization-` prefix (#45180) ref: rename acceptance required checks collector (#45156) chore(assignment): Add analytics when autoassigning after a manual assignment (#45099) feat(source-maps): Update copy for source map debug alerts (#45164) ref(js): Remove custom usage of DocumentTitle (#45165) chore(login): update the login banners (#45151) ref(py): Remove one more legacy project_id from Environment (#45160) ...
This is a followup to #45099 (which was reverted) that fully implements skipping automatic assignment if the issue has already been manually assigned by a user. See [WOR-2320](https://getsentry.atlassian.net/browse/WOR-2320) for full context. [WOR-2320]: https://getsentry.atlassian.net/browse/WOR-2320?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Add an analytics event when a user has already manually assigned an issue and we then auto-assign it.
See WOR-2320 for more in depth explanation.