Identify contacts with 0 tickets

  • 15 April 2019
  • 0 replies

We need to identify contacts who do not have any tickets, so that we can delete them in accordance with our privacy policy.

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?

This topic has been closed for comments