In most cases, Zendesk automatically archives tickets 120 days after they are closed. While archived tickets are still accessible, it's recommended that you delete them regularly.
Admins and agents in custom roles with permission can create deletion schedules to delete archived tickets after a specified period of time. This is an automated way to help comply with data retention laws and manage data storage in your Zendesk account. If tickets contain sensitive information, a deletion schedule helps you create data retention policies to comply with privacy legislation such as the EU General Data Protection Regulation (GDPR) and the California Privacy Rights Act (CRPA).
- Delete tickets that haven't been updated in three years
- Delete tickets for Brand A that haven't been updated in six months
- Delete tickets with the type Question that haven't been updated in 200 days
About ticket deletion schedules
Ticket deletion schedules allow you to create conditions for automatically deleting tickets. Deletion schedules delete only archived tickets, which are tickets that have been closed for more than 120 days.
Ticket deletion schedules continuously search for and delete tickets that have been closed and not modified for a specified period. For example, if you create a schedule that deletes tickets 365 days after they are closed, and the ticket was modified within that time (for example, ticket content was redacted), the ticket is not deleted. The clock starts over, and the ticket will be deleted 365 days from the modification date.
Ticket deletion schedules start to delete eligible tickets within 72 hours of meeting the defined criteria. For example, if a schedule deletes tickets that are three years old, it will start deleting them within 72 hours of reaching that age. Up to 200,000 tickets per account per day will be deleted.
After they are activated, deletion schedules aren't a one-off event. Zendesk continuously searches for and deletes tickets that meet the conditions unless you deactivate the schedule. There is no impact on performance when schedules delete a large volume of tickets or run during busy periods.
Tickets deleted by deletion schedules aren't included in the Deleted Tickets view. You can track these changes in the audit log by filtering by Activity type: Deleted.
Creating ticket deletion schedules
Admins and agents in custom roles with permission can create up to 10 ticket deletion schedules, but only one ticket deletion schedule can be active at a time. If you have the Advanced Data Privacy and Protection add-on, you can activate up to 10 ticket deletion schedules.
To create a ticket deletion schedule
- In Admin Center, click
Account in the sidebar, then select Security > Deletion schedules.
- Click Create deletion schedule > Tickets.
If you already have 10 ticket deletion schedules created, a message appears notifying you that you’ve reached your limit. You must delete a schedule before you can create a new one.
- Enter the Schedule name.
Use a consistent naming convention to help you recognize similar types of deletion schedules.
- (Optional) Enter a Description for your deletion schedule.
- For Last updated, indicate when to delete tickets based on when they were
last updated. This field is required.
Deletion schedules delete tickets that have been closed and not modified for the period of time specified.
- Click Add condition to add additional conditions for deleting tickets,
such as by organization or brand.
You can configure the deletion schedule to delete tickets that meet All or Any of the specified conditions. See Building condition statements for ticket deletion schedules.
You can add one additional condition for deleting tickets. If you have the Advanced Data Privacy and Protection add-on, there is no limit to the number of conditions you can add.
- Select a Category, Operator, and Value for each
condition.
The operator determines the relationship between the category and the value. For example, if you select the operator Is, your category must equal the value.
Note: Deletion schedules delete only archived tickets, which are tickets that have been closed for more than 120 days. If you create a condition to delete tickets before 120 days, tickets are deleted at 120 days. - (Optional) After conditions are added, click Preview to preview an approximate number of tickets that match and will be deleted when the schedule is active.
- Click Create.
Your new deletion schedule is added to the end of the list as an inactive schedule.
- Activate the deletion schedule.
Building condition statements for ticket deletion schedules
Condition statements consist of categories, field operators, and condition values (which vary depending on the category selected). Condition statements are essentially "if" statements that delete tickets meeting the specified criteria.
The table below lists the categories available for building condition statements for ticket deletion schedules.
Category | Description |
---|---|
Last updated | Deletes tickets based on when they were last updated. At
least one Last updated condition is required. Deletion schedules delete tickets that have been closed and not modified for the period of time specified for Last updated. For example, if Last updated is set to 365 days, and the ticket was modified within that time, the ticket is not deleted. The clock starts over, and the ticket will be deleted 365 days from the modification date. |
Custom fields | Deletes tickets based on custom field values. |
Brand | Deletes tickets by brand. |
Form | Deletes tickets by ticket form, if you use multiple ticket forms. |
Group | Deletes tickets by group. |
Type | Deletes tickets based on the ticket type: Question, Incident, Problem, or Task. |
Requester | Deletes tickets based on the requester name. |
Organization | Deletes tickets based on organization, if you have multiple organizations. |
Tags | Deletes tickets with the selected ticket tags. |
4 comments
Rachel
Hi,
As a user based in the EU, the rest of the team is in the United States (we have no EU customers). How does this update affect our tickets? Thanks, Rachel
0
Andrew Lee
Any consideration or development of deletion schedules based on Ticket Comments?
Example - 1 week after ticket close, delete any Comments containing Email Address
0
Almog Zamir
Please correct me if I am wrong, but can I delete a ticket that is not archived as part of this feature?
I mean, let's say I want to set a schedule that deletes tickets after 30 days. I can't do it because schedule deletion only affects archived tickets, which means at least 120 days after the ticket was solved.
0
Jay Saclot
Hello Almog Zamir
You're right; scheduled deletion only applies to archived tickets, specifically those solved for at least 120 days. It isn't possible to schedule deletions for tickets less than 120 days old.
0