
Sorry if this has been answered, but I can't find a way to search the list archives. Is there any danger in using the following method to wipe out new (untouched) tickets? DELETE FROM ticket WHERE queue_id = 123 AND ticket_state_id = 456; Thanks, aaron

Hi Aaron, aaron schrieb:
Is there any danger in using the following method to wipe out new (untouched) tickets?
DELETE FROM ticket WHERE queue_id = 123 AND ticket_state_id = 456;
I think you get rid of the tickets you aim to with this method, but other informations of the tickets (e.g. attachments) won't be deleted with this method. You should use the Generic Agent instead, that's safer and cleaner. Use the WebGUI of the agent or see ~/Kernel/Config/GenericAgent.pm.examples (here 'delete').
aaron
Bye, Alex
participants (2)
-
aaron
-
Alexander Scholler