/build/static/layout/Breadcrumb_cap_w.png

Report to show tickets created after 24 hours and no comments or resolutions by technician

I need a report that show tickets that have no resolution or comments made by the technician 24 hours after the ticket has been opened and until a comment or resolution has been made. This way I can manage and keep up on the tech tickets without having to go into each ticket. I keep gettin SQL error code when trying to look at comments. 


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jverbosk 12 years ago
Red Belt
4

See if this does what you need.

Hope that helps!

John

________________________

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 DATEDIFF(NOW(), T.CREATED) > 1

AND ((T.RESOLUTION = '') OR (TC.COMMENT = ''))

GROUP BY T.ID

ORDER BY T.ID

Posted by: chucksteel 12 years ago
Red Belt
1

Can you post the code that you have now?

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ