Hi,
I'm trying to build a query which counts the total # of times a specific agent has reassigned a ticket to a user-group (during the previous week).
I'm using COUNT(Assignee reassignments) as the metric, and I'm applying a filter for Assignee name, but the result is always zero. Presumably I'm doing something wrong.
How can I achieve this? Essentially I would like to count how many times each of our less experienced team-members in Level 1 Support escalates a ticket to a group called Senior Team (which is our Level 2 Support) for the previous week. The Level 2 folks will then assign a ticket to themselves independently.
Thank you! :)
How to count the # of reassigned tickets per agent
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

If limited to select agents or it's not a lot of updates, you can add in Ticket Id, to see which tickets specifically were moved by that agent:
- You check if the change was made to the assignee_id field.
- Confirm that the previous assignee is the same as the updater (the agent reassigning from themselves).
- Ensure the new assignee is different from the updater.
- Then you return the Update ID for each such event.
- Finally, counting these updates gives you the total number of agent transfers.
This logic can be very helpful to analyze agent behavior regarding ticket ownership changes and to identify patterns of reassignment. Thanks again for posting the formula!