This very simple ScripAction will change a “new” ticket’s status
to “open”.
Suggested usage: one of
OnOwnerChange OpenTicket with template Blank
OnTicketPickup OpenTicket with template Blank
OpenTicket.README (227 Bytes)
OpenTicket.tar.gz (1.27 KB)
Subject: [rt-devel] [contrib] OpenTicket ScripAction
This very simple ScripAction will change a “new” ticket’s status
to “open”.
I’ve extended this, to be able to set the status to any possible status
that RT::Ticket->SetStatus will accept. The status can be defined in the
Argument, or in the Template.
Suggested usage:
with Argument (being just 'resolved'):
OnSomeCondition SetResolved with Template Blank
or
OnCorrespondWhenNew SetOpen with Template Blank
with Template (containing just the word 'resolved'):
OnSomeCondition SetStatus with Template Resolved
Installation instructions:
Copy SetStatus.pm to lib/RT/Action/ as SetStatus.pm
Edit insert_action_SetStatus.pl for your local RT directories, and
referring to the example, choose the name of the Action(s) you
wish to create. By default, the following would be created:
SetStatus, SetResolved, SetNew, SetOpen, SetStalled
Run insert_action_SetStatus.pl to create these.
Bruce Campbell RIPE
Systems/Network Engineer NCC
www.ripe.net - PGP562C8B1B Operations/Security
SetStatus.pm (1.29 KB)
insert_action_SetStatus.pl (2.65 KB)