[rt-users] How to Auto Resolve tickets with no subject
Dalal, Kamber Z (Kamber)
kamber.dalal at verizonbusiness.com
Wed Jul 25 12:56:37 EDT 2007
I have written the following custom script to set the status of resolved
for tickets created via e-mail or web GUI, but missing subject. Alas it
fails.
Condition: User Defined
Action: User Defined
Custom condition:
return 0 unless ($self->TransactionObj->Type eq "Create" &&
$self->TicketObj->Subject =""); 1;
Custom action preparation code:
return 1;
Custom action cleanup code:
$self->TicketObj->SetStatus( "resolved"); return 1;
More information about the rt-users
mailing list