The Delete attachments escalation action removes most files from a ticket's messages, but not all of them. To remove every file linked to a ticket, delete the ticket and let Deskpro purge it.
What the Delete attachments action removes
The action removes all files attached to a ticket's messages. This includes inline images such as logos and signature images.
Check these settings on the action:
Make sure Skip inline images (such as pasted images or signature images) is not ticked. If it is ticked, inline images are kept.
Make sure no filename or minimum size filters are set.
The escalation only applies to tickets that meet its criteria after you set it up. Older tickets, or tickets in other departments or statuses, aren't processed.
What the action doesn't remove
Files uploaded to ticket custom fields of the File type.
Raw copies of incoming emails, which include the original attachments. These follow a separate retention period in your help desk settings.
An image used by more than one ticket, such as a signature logo. Deskpro keeps it until no other ticket uses it.
Remove every file by purging deleted tickets
When you delete a ticket, it goes to the Deleted status first. It keeps its files until it's purged. When Deskpro purges a deleted ticket, it removes all of its files: attachments, inline images, custom field files, and the stored original emails.
Go to Admin > Tickets > Statuses > Deleted.
Under Automatic cleanup, check Purge deleted tickets from system after.
If it's turned off, turn it on and set a period. While it's off, deleted tickets and their files are never removed.
To purge now, click Run clean up now.