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

Better involvement calculation for reports #396

Open
inghamn opened this issue Aug 19, 2021 · 0 comments
Open

Better involvement calculation for reports #396

inghamn opened this issue Aug 19, 2021 · 0 comments
Assignees
Milestone

Comments

@inghamn
Copy link
Member

inghamn commented Aug 19, 2021

When calculating people's time spent being responsible for tickets, the query only looks at the very last person who was left assigned to the ticket. In many cases, this does not result in very accurate reporting, since tickets get handed around to several people before the final person resolves it. With the current method of caluclation the final person gets hit for all the time it spent in front of all the other people who were assigned the ticket.

We should come up with a better way of calculating people's involvement with tickets by looking at the ticketHistory table, instead of the just the assignedPerson_id on the ticket.

@inghamn inghamn added this to the 2.3.1 milestone Aug 19, 2021
@inghamn inghamn self-assigned this Aug 19, 2021
inghamn added a commit that referenced this issue Aug 19, 2021
This new query tries to sum up the time each person spends with a ticket by joining the ticketHistory table on itself.  The start time is when they were assigned the ticket, and the end time is when they either closed it or assigned it to someone else.

This should be a drop in replacement for the existing reporting system.

Updates #396
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant