Feature Requests
Share ideas, discuss and vote on requests from other users in community

PreTicketDelete Hook

Tim Hollis shared this idea 1 year ago
Under Consideration

We would like to prevent tickets from being deleted in most cases, but the existing TicketDelete hook does not run until after the ticket is deleted. Not sure what the point of that hook would be exactly since the data for the ticket is already gone when it runs, but a PreTicketDelete hook would be massively useful as you could insert custom logic to route the ticket to the trash instead, or another custom department for "archived" tickets rather than deleting it outright.

Even better, a "Pre" hook for pretty much anything that currently has a "Post" hook would be infinitely useful.