I am trying to create a report to measure the number of working hours a user has been waiting. However all the measures available in the reporting manual seem to list total hours rather than just working hours. On an actual ticket in the Dates & Times tab it shows both the Total User Waiting Time as work hours only as well as real time. The report I have at the moment is:DISPLAY TABLE SELECT tickets.subject, tickets.id, tickets.total_user_waiting / (60 * 60) AS 'User Waiting Time (hrs)' FROM tickets WHERE tickets.date_resolved = %1:DATE_GROUP% AND tickets.status IN ('resolved', 'archived') SPLIT BY tickets.agent It would be a good improvement to be able to do take out just working hours that a user has been waiting.
Comentários (9)