Skip to main content

Retrieve Ticket Owner email addresses - Knowledgebase / Using Deskpro / Reports - Deskpro Support

Retrieve Ticket Owner email addresses

Authors list

You can create a query that returns a table of tickets, including the email address of each ticket's owner (user). To do this, you can cross-reference from the tickets table to the person table using: 

tickets.person.primary_email.email

 e.g.:

SELECT tickets.id, tickets.subject, tickets.date_created, tickets.person.primary_email.email
FROM tickets

 which would give you a table like this: 

Utli Mhux utli