Recent searches


No recent searches

Provide an API endpoint to pull the SLA timer time remaining value (for use in paging scenarios)

Not Planned


image avatar

Heather Rommel

Zendesk LuminaryThe Product Manager Whisperer - 2021Community Moderator

Posted Mar 21, 2024

 

Overview

What problem do you see this solving? 

  • In scenarios where we have tight response times and utilize an alerting feature such as paging or a slack notification, we want to surface the active timer time remaining. The reason for this is because our support folks get multiple pages/alerts and can use this information to help prioritize more easily when on call or facing multiple sev1 issues.

When was the last time you were affected by this lack of functionality What happened? How often does this problem occur and how does this impact your business? (3-4 sentences)

  • This problem happens several times a week.  We have already utilized automations to try to space out pages and notifications, but since automations run at the same time, the result is multiple notifications at the same time where our folks need to quickly see which one to pick up first. This leads to unnecessary scrambling to navigate to the right view and manually comment to each other as to which one should be picked up first, etc.

Are you currently using a workaround to solve this problem? 

  • No.

What would be your ideal solution to this problem? How would it work or function? (1-2 sentences)

  • Provide an API endpoint and/or placeholder where we can pull the time remaining on a given timer on a given SLA policy on a given ticket so we can use it in slack notifications and pages.

0

3

3 comments

image avatar

Shawna James

Community Product Feedback Specialist

Hey Heather,
 
Thank you for taking the time to provide us with your feedback. This has been logged for our PM team to review. For others who may be interested in this feature request, please add your support by upvoting this post and/or adding your use case to the comments below. Thank you again!

0


image avatar

Scott Allison

Zendesk Product Manager

Heather Rommel Thank you for your feedback!

While we don't have an API endpoint for remaining time on an SLA, we do have an API endpoint where you can retrieve the SLA's target deadline, as a timestamp from which you could then calculate the time remaining.

.../api/v2/tickets/{ticket_id}.json?include=metric_events

The response will include the names of any SLA metrics that are active along with a "breach" timestamp. This is when that SLA target is due. From this you can calculate how long is left.

I do also want to let you know that the underlying need for timely SLA notifications is something we have planned and will be working on later this year. The goal is to allow admins to set up rules around when SLA notifications should be sent. This could be at breach, or before hand. There's a separate Community request for that here.

0


FWIW - It looks like you can also use “include=tickets(slas)” to return the active SLA policy along with how long is left on the SLA timer.

 

.../api/v2/tickets/{ticket_id}.json?include=slas

OR

…/api/v2/search.json?query={query}&include=tickets(slas)

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post