[Rt-devel] Re: Re: Re: Transfer custom field value in ticket creation

Juan Ramón Alfageme Mata JRamon.Alfageme at alhambra-eidos.com
Fri Mar 18 06:36:47 EST 2005


Now I'm trying the following commit code:

my $CFName = 'CustomField1';

my $Reference = $self->TicketObj->ReferredToBy->Next;
my $SourceTicket = $Reference->BaseObj;

my $CF1Values = $SourceTicket->CustomFieldValues($CFName);

while (my $CurrValue = $CF1Values->Next) {
my( $st, $msg ) = $self->TicketObj->AddCustomFieldValue (Field => $CFName, Value => $CurrValue->Content);
}

return 1;

But doesn't work, any suggestion?
 	

Juan Ramón Alfageme Mata
+34 91 787 23 00 alhambra-eidos.com
 	
 
 
 



More information about the Rt-devel mailing list