Identify contacts with 0 tickets
As part of our GDPR compliance, we promise to delete a customer's data from our support desk after a period of inactivity:
- We delete tickets that have been inactive for 2 years (the length of our longest warranty).
- We delete contacts from the support desk if they no longer have any tickets.
The first part is easy enough, but I'm struggling to find a way of identifying contacts with 0 tickets. It would be fantastic if 'number of tickets' was a returned attribute when querying the API for contacts.
Or is there another way of doing this, that I've overlooked?
2 people have this question