Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(workflow): Adding some group history entries across app #29355

Merged
merged 5 commits into from
Oct 18, 2021

Conversation

iProgramStuff
Copy link
Contributor

@iProgramStuff iProgramStuff commented Oct 15, 2021

To support the recently added endpoints for team insights (time to resolution and issues reviewed), the GroupHistory model needs to be appropriately populated. This PR aims to do that.

While adding these status', I also realized we may need to distinguish between resolution as an action, and resolution as a status. For example:
The issues reviewed API counts marking as resolved (immediately), and marking as resolved in [release/commit] as actions, so I create GroupHistory entries to properly track those when they happen. However, when the release/commit causes the group to be resolved, I am also creating another RESOLVED entry and this would currently get counted as 2 actions on the same group.

I haven't thought of a way to solve this without losing granularity for something else without having two status' such as SET_RESOLVED and RESOLVED. In this case, the reviewed issues API would only count SET_RESOLVED (and other actions), where as the time to resolution API would only count RESOLVED entries. The caveat here is that someone clicking "Resolve" in the UI would have to make two entries..

@wedamija wedamija merged commit 55ed5d7 into master Oct 18, 2021
@wedamija wedamija deleted the feat/populategrouphistory branch October 18, 2021 18:52
@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants