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

[Feature] New hours to solve measure #119

Closed
2 of 4 tasks
fivetran-jessicacherny opened this issue Oct 24, 2023 · 4 comments · Fixed by #123
Closed
2 of 4 tasks

[Feature] New hours to solve measure #119

fivetran-jessicacherny opened this issue Oct 24, 2023 · 4 comments · Fixed by #123
Assignees
Labels
priority:p4 Affects few users; pick up when available status:in_progress Currently being worked on type:enhancement New functionality or enhancement update_type:models Primary focus requires model updates

Comments

@fivetran-jessicacherny
Copy link

Is there an existing feature request for this?

  • I have searched the existing issues

Describe the Feature

My stakeholder wants to track a new definition of MTTR (mean time to resolution).
Today, we track full resolution time (i.e. total calendar days from ticket creation date to final solved date (i.e. latest solved date when ticket is reopened).

We actually only want to track the number of hours the ticket was not in the closed or solved status i.e. only tracking total time in open, pending, on hold. We call this Avg. Hours to Solve internally in our Looker instance.

Describe alternatives you've considered

No response

Are you interested in contributing this feature?

  • Yes.
  • Yes, but I will need assistance and will schedule time during your office hours for guidance.
  • No.

Anything else?

No response

@fivetran-jessicacherny fivetran-jessicacherny added the enhancement New feature or request label Oct 24, 2023
@fivetran-joemarkiewicz fivetran-joemarkiewicz changed the title [New Measure] <Hours to Solve> [Feature] New hours to solve measure Oct 24, 2023
@fivetran-joemarkiewicz fivetran-joemarkiewicz added type:enhancement New functionality or enhancement update_type:models Primary focus requires model updates and removed enhancement New feature or request labels Oct 24, 2023
@fivetran-joemarkiewicz
Copy link
Contributor

fivetran-joemarkiewicz commented Oct 24, 2023

@fivetran-jessicacherny thanks for opening this feature request, this addition of a new "hours to solve" measure makes sense as an impactful addition to our end ticket_metrics model.

To confirm, I would imagine this solution would involve a new metric that expands upon the requester_wait_time_in_minutes metric. This expansion would include the addition of the pending status.

Current

case when status in ('new', 'open', 'hold') then status_duration_calendar_minutes
else 0 end as requester_wait_time_in_minutes,

Proposed Update

case when status in ('new', 'open', 'hold') then status_duration_calendar_minutes 
     else 0 end as requester_wait_time_in_minutes, 
case when status in ('new', 'open', 'hold', 'pending') then status_duration_calendar_minutes 
     else 0 end as solve_time_in_minutes, 

Similarly I know there are custom statuses that Zendesk allows users to create. So maybe it would make more sense to take the following approach.

case when status in ('new', 'open', 'hold') then status_duration_calendar_minutes 
     else 0 end as requester_wait_time_in_minutes, 
case when status not in ('solved', 'closed') then status_duration_calendar_minutes 
     else 0 end as solve_time_in_minutes, 

Let me know what your thoughts are and if this matches what you are looking to incorporate into the package?

@fivetran-joemarkiewicz fivetran-joemarkiewicz added the status:scoping Currently being scoped label Oct 24, 2023
@fivetran-jessicacherny
Copy link
Author

lgtm, @fivetran-joemarkiewicz!

@fivetran-joemarkiewicz fivetran-joemarkiewicz added status:accepted Scoped and accepted into queue and removed status:scoping Currently being scoped labels Oct 26, 2023
@fivetran-avinash fivetran-avinash added status:in_progress Currently being worked on and removed status:accepted Scoped and accepted into queue labels Nov 3, 2023
@fivetran-avinash fivetran-avinash self-assigned this Nov 3, 2023
@fivetran-avinash fivetran-avinash added the priority:p4 Affects few users; pick up when available label Nov 3, 2023
@fivetran-avinash
Copy link
Contributor

Hi @fivetran-jessicacherny, I'll be working on this task this sprint and should have it ready for deployment by the end of it!

@fivetran-avinash fivetran-avinash linked a pull request Nov 15, 2023 that will close this issue
6 tasks
@fivetran-joemarkiewicz
Copy link
Contributor

@fivetran-jessicacherny this is now live in the latest v0.13.0 release of the Zendesk package. Thanks again for working with us to incorporate these changes in the package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:p4 Affects few users; pick up when available status:in_progress Currently being worked on type:enhancement New functionality or enhancement update_type:models Primary focus requires model updates
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants