So i've done some debug in TakeAction.pm and it seems that <br>custom_fields is empty because I never see the ACTIONCF2 log<br><br>any leads at to debugging $queue->TicketCustomFields; ?<br><br> # Canonicalize custom fields<br>
my $custom_fields = $queue->TicketCustomFields;<br> $RT::Logger->info( "ACTIONCF1-> @{[ %{$queue} ]} " );<br> while ( my $cf = $custom_fields->Next ) {<br> $RT::Logger->info( "ACTIONCF2-> @{[ %{$cf} ]} " );<br>
my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{". $cf->Name ."}" );<br> next unless keys %tmp;<br> $create_args{ 'CustomField-' . $cf->id } = [ _CompileAdditiveForCreate(%tmp) ];<br>
$RT::Logger->info( "ACTIONCREATED_ARGS-> " );<br> }<br>