On Fri, May 4, 2012 at 6:11 AM, Joshua Laroff <[email protected]> wrote:
> my $cf = RT::CustomField->new($RT::SystemUser); > $cf->LoadByName(Name => 'Customer'); > > ... > > $self->TicketObj->AddCustomFieldValue(Field => $cf, Value => $result); > return 1; > Actually, I think you can just pass the field name into AddCustomFieldValue and cut out looking up the name yourself. At least that's what I've been doing and it appears to work. -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin
