K1000 Service Desk Report to show tickets with no updates by owner
I am trying to create a report that will show tickets that have no updates on them by the tech that owns the ticket.
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
Mashby1
3 years ago
Top Answer
Schema for reference here: http://blog.foreignkid.net/wp-content/uploads/2011/04/schema_bootkamp.jpg, but this should start you out:
SELECT T.ID AS TICKET_ID, T.TITLE, T.RESOLUTION, TC.COMMENT
FROM HD_TICKET T
LEFT JOIN HD_TICKET_CHANGE TC ON (TC.HD_TICKET_ID = T.ID)
WHERE ((T.RESOLUTION = '') OR (TC.COMMENT = ''))
GROUP BY T.ID
ORDER BY T.ID
Comments:
-
Thanks! I've been looking for that schema. I think you have provided enough for me to get where I need to go. I appreciate it. - CoryAdams 3 years ago
Posted by:
Hobbsy
3 years ago