List of tickets transferred from one owner to another

Moderator: crythias

Locked
chaitanyacda
Znuny newbie
Posts: 33
Joined: 26 Feb 2013, 13:23
Znuny Version: 3.1.4
Real Name: Chaitanya Ambaselkar
Company: InfoCepts

List of tickets transferred from one owner to another

Post by chaitanyacda »

Greetings,

I would like to know if there is a way to report or list all tickets which were owned by an agent and then transferred to another?
We are looking for a way to find out some performance metrics for our agents and like to know this.

Thanks and Regards
Chaitanya A.
OTRS 3.14 on Cent OS 6 64bit with MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: List of tickets transferred from one owner to another

Post by crythias »

Code: Select all

SELECT ticket.tn, users.login as 'From', ticket_history.name as 'To'
FROM ticket_history
LEFT JOIN ticket ON ticket.id = ticket_history.ticket_id
LEFT JOIN users ON users.id = ticket_history.owner_id
LEFT JOIN ticket_history_type ON ticket_history_type.id = ticket_history.history_type_id
WHERE ticket_history_type.name =  "OwnerUpdate"
Add other fields as necessary.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked