최근 검색
최근 검색 없음

Support Operations Manager
가입한 날짜: 2022년 6월 28일
·
마지막 활동: 2023년 4월 18일
팔로잉
0
팔로워
0
총 활동 수
5
투표 수
2
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Support Operations Manager
Support Operations Manager님이 에 댓글을 입력함
+1 - would love to see this built into ZD Explore.
For anyone who is trying to find a workaround, I've added an example SQL query based on data from the Zendesk Tickets endpoint. If you are sending your Zendesk data to a warehouse / business intelligence tool, you can construct reporting on Problem / Incident tickets outside of Zendesk Explore.
The result of the below query will create a list of Problem Tickets, with the Created Date, Updated Date, Status, Subject, Assignee, as well as a sum of Total Handle Time custom field (created by the Zendesk Time Tracking App) for all Incident tickets that are linked to the Problem ticket, a calculation for Days Open, and a count for the # of Incidents linked.
Still hoping this can be implemented in Explore eventually, but hope this saves someone some time in the future as a starting point.
SELECT
A.PROBLEM_ID as "PROBLEM ID",
B.TS_CREATED_AT as "CREATED",
B.TS_UPDATED_AT as "UPDATED",
B.STATUS,
B.SUBJECT,
USER_NAME as "Assignee",
DATEDIFF(day, B.TS_CREATED_AT, GETDATE()) as "DAYS OPEN",
SUM(A.CUSTOM_TOTAL_TIME_SPENT_SEC) / 60 as "HANDLE TIME (m)",
COUNT(DISTINCT A.ZENDESK_TICKET_ID) as "INCIDENT COUNT"
FROM
DATA_WAREHOUSE.ZENDESK_TICKETS as A,
DATA_WAREHOUSE.ZENDESK_TICKETS as B
LEFT JOIN
DATA_WAREHOUSE.ZENDESK_USERS ON B.ASSIGNEE_ID = ZENDESK_USER_ID
WHERE
B.ZENDESK_TICKET_ID = A.PROBLEM_ID
AND A.TYPE = 'incident'
GROUP BY 1, 2, 3, 4, 5, 6
ORDER BY 9 DESC
If you are using a BI tool such as Redash, you can embed the results into a Google Sheet and create pivot tables (Recently created, Recently Updated, Most Incidents, Trending (Last 30d), Most Handle Time, Longest Open).
댓글 보기 · 2023년 4월 07일에 편집됨 · Support Operations Manager
0
팔로워
0
투표 수
0
댓글