Send email when a ticket is deleted?

Is there an easy way to have RT send an email when a ticket is deleted?
We get some spam to our queues and it would be nice to know if someone
already deleted it.

Thanks,
Omen

Omen Wild
Systems Administrator
UC Davis

Le 08/06/2016 18:01, Omen Wild a �crit :

Is there an easy way to have RT send an email when a ticket is deleted?
We get some spam to our queues and it would be nice to know if someone
already deleted it.

You have to write a custom condition scrip like (untested):

return 1 if ( $self->TransactionObj->Type eq ‘Status’ &&
$self->TransactionObj->NewValue eq ‘deleted’ );

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Quoting Emmanuel Lacour elacour@easter-eggs.com on Thu, Jun 09 10:50:

You have to write a custom condition scrip like (untested):

return 1 if ( $self->TransactionObj->Type eq ‘Status’ &&
$self->TransactionObj->NewValue eq ‘deleted’ );

So … not easy. Thanks, I’ll dig into that if I get some time.

Omen Wild
Systems Administrator
Physics