Statistic/report for Involved agents in a ticket

Moderator: crythias

Post Reply
graychev
Znuny newbie
Posts: 19
Joined: 19 Jan 2021, 18:19
Znuny Version: 6 CE
Real Name: Georgi Raychev

Statistic/report for Involved agents in a ticket

Post by graychev »

Hello,

Is it possible to have in statistics or in Search, how many agents took any participation in a ticket ?
As owner, as responsible, just left a note etc.

The idea is one tickets can go through several queues, before closing, so we want to see who worked on it.

Thanks in advance.

Best regards,
Georgi
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Statistic/report for Involved agents in a ticket

Post by root »

Hi,

Only via SQL or commercial add-ons.

For SQL you need the table ticket and ticket_history. This may be a good start
SELECT t.tn,COUNT(distinct th.create_by) from ticket t LEFT JOIN ticket_history th on (t.id=th.ticket_id) GROUP by t.tn;
It is not tested, feedback welcome ;-)

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply