On Wed, 08 Apr 2009 17:36:08 -0700, "Nick Kartsioukas"
<[email protected]> said:
> my $cf = RT::CustomField->new( $RT::SystemUser );
> $cf->LoadByName( Name => 'createdbyemail' );
> $self->TicketObj->AddCustomFieldValue( Field => $cf, Value => 'yes' );
> return 1;

Got it.  Should be double-quotes instead of single-quotes for the value
to set, so:
$self->TicketObj->AddCustomFieldValue( Field => $cf, Value => "yes" );
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to