I have been searching the Wiki for a script that would resolve a ticket
when it is created. I use RT to track reports, installs and other automated
happenings on my servers. These generate a reply to me as I am the AdminCc
on those queues. I don’t mind the replies. What i want is to have that
ticket automatically resolved and no resolved reply email sent. On my 3.6
RT instance I had a script like that (That system is down and I can’t
locate the script).
Can anyone point me such a script.
I guess I haven’t used the correct search terms to find it.
TIA
John J. Boris, Sr.
Online Services
Try the below scrip applied directly to whatever queues you want Tickets
immediately resolved on. As for notifications that depends on how you have
those scrips setup. If the reply scrip is global you should change that to
apply only to queues you want replies sent out for.
Condition: On Create
Action: User Defined
Template: Blank
Custom action preparation code:
#–Begin Custom action preparation code–
my $ticket = $self->TicketObj;
$ticket->SetStatus(“Resolved”);
#–End Custom action preparation code–
View this message in context: http://requesttracker.8502.n7.nabble.com/Looking-for-script-to-autoclose-ticket-tp56925p56926.html
j.
Thanks. I will use that suggestion on reply. I am technically the only user
of my RT instance and the only replies really go to my users who send in
tickets via a form.
But I will try this out. I am a sub novice when it comes to perl code.On Wed, Mar 12, 2014 at 12:24 PM, j.hubbard jason.hubbard@circles.comwrote:
Try the below scrip applied directly to whatever queues you want Tickets
immediately resolved on. As for notifications that depends on how you have
those scrips setup. If the reply scrip is global you should change that to
apply only to queues you want replies sent out for.
Condition: On Create
Action: User Defined
Template: Blank
Custom action preparation code:
#–Begin Custom action preparation code–
my $ticket = $self->TicketObj;
$ticket->SetStatus(“Resolved”);
#–End Custom action preparation code–
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training
John J. Boris, Sr.
Online Services
www.onlinesvc.com