Condition : On resolve
Custom Action Preparation Code :
set the CF Work-Completed Date
my $trans = $self->TransactionObj;
my $ticket = $self->TicketObj;
my $cf_obj = RT::CustomField->new($RT::SystemUser);
my $cf_name = “TicketStatus”;
my $cf_value = “Closed [Orbit]”;
$RT::Logger->debug(“Loaded$cf_obj->Name = “. $cf_obj->Name() .”\n”);
Custom cleanup code :
-AshishFrom: email@example.com [firstname.lastname@example.org] On Behalf Of Chris Newcomb [email@example.com]
Sent: Thursday, March 05, 2009 9:42 PM
Subject: [rt-users] Scrip and custom field Help
I’ve googled and either my google fu is not working or I’m not finding
the correct answer, and I barely know perl.
Using RT 3.8.1 on freebsd using mysql
Condition: On Resolve
Action: is where I need help.
I have a custom field named TicketStatus. I want to on resolve set the
custom field to be “Closed [Orbit]”, usually the ticket status is either
Created [Orbit] or Updated [Orbit].
any pointers that you can give me would be great, either by telling me
what to search for or giving me an idea of what to use to get the action
Thanks in advance
Community help: http://wiki.bestpractical.com
Commercial support: firstname.lastname@example.org
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com