Recent searches
No recent searches
Provide an API endpoint to pull the SLA timer time remaining value (for use in paging scenarios)
Not Planned
Zendesk LuminaryThe Product Manager Whisperer - 2021Community Moderator
Posted Mar 21, 2024
Overview
- As an admin, I want to be able to include the SLA timer from a given SLA active on a ticket on alerts in slack or Paging. Currently there is no API endpoint to pull this according to SLA Policies and https://support.zendesk.com/hc/en-us/community/posts/5321452538394-SLA-time
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
Shawna James
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
Scott Allison
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
Eric Kramer
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