So i've done some debug in TakeAction.pm and it seems that
custom_fields is empty because I never see the ACTIONCF2 log

any leads at to debugging $queue->TicketCustomFields; ?

 # Canonicalize custom fields
        my $custom_fields = $queue->TicketCustomFields;
        $RT::Logger->info( "ACTIONCF1-> @{[ %{$queue} ]} " );
        while ( my $cf = $custom_fields->Next ) {
            $RT::Logger->info( "ACTIONCF2-> @{[ %{$cf} ]} " );
            my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{".
$cf->Name ."}" );
            next unless keys %tmp;
            $create_args{ 'CustomField-' . $cf->id } = [
_CompileAdditiveForCreate(%tmp) ];
            $RT::Logger->info( "ACTIONCREATED_ARGS->  " );
        }
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to