تخطي إلى المحتوى الرئيس

Show tickets in order of the number of different agents who replied - قاعدة المعلومات / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. For the most up-to-date version, see: Show Tickets ordered by number of Agents who replied until Resolution

Show tickets in order of the number of different agents who replied

قائمة المؤلفين

Question:

How can I create a report to show resolved tickets with only one agent replying to the ticket?

Answer:

This will show resolved tickets ordered by the number of agents who have added replies (or notes).

 

SELECT DPQL_COUNT_DISTINCT(tickets_messages.person) AS 'Number of agents', tickets_messages.ticket_id, tickets_messages.ticketFROM tickets_messagesWHERE tickets_messages.person.is_agent AND tickets_messages.ticket.status = 'resolved'GROUP BY tickets_messages.ticket_idORDER BY DPQL_COUNT_DISTINCT(tickets_messages.person)

مفيد. غير مفيد

وجد 50 من 104 شخص هذه الصفحة مفيدة

أضف تعليق

الرجاء تسجيل الدخول أو التسجيل لتقديم تعليق.

هل تحتاج إلى تذكير بكلمة المرور؟