From Request Tracker Wiki
Revision as of 15:35, 6 April 2016 by Admin (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a quick Scrip that will reopen a ticket upon correspondence being added to said ticket.

Description: Auto reopen a ticket upon correspondence Condition: User Defined Action: Open Tickets Template: Global Template: blank Stage: TransactionCreate

Custom Condition:

my $trans = $self->TransactionObj; my $ticket = $self->TicketObj;

return 0 unless $trans->Type eq "Correspond"; return 0 if $ticket->Queue == 12; return 1;

Leave "Custom action preparation code" and "Custom action cleanup code" blank.

Note: The queue that I did not want this action to take place on, was number 12. Change this number to reflect the queue that you would like to filter on. You could easily add more queues or other criteria to filter on.

Good Luck!