Hello,

 

I am trying to set a custom field based on an incoming mail. Part of the code looks like this:

 

my $CF_Obj = RT::CustomField->new($RT::SystemUser);

my $cf_name = "Skill";

$CF_Obj->LoadByName( Name => $cf_name, Queue => '0',);

my ($retcode, $msg) = $CF_Obj->AddValueForObject( Object  => $self->TicketObj,

                          Content => $cf_value, );

$RT::Logger->debug("Return code [$retcode] Msg [$msg]\n");

 

The scrip gets executed, however the custom field won’t be set, because the permission is denied.

The user is RT_System, but I can’t seem to find where I can set the ‘ModifyCustomField’ right for this user.

 

Can someone please help me?


Thanks,

Alain Sips

_______________________________________________
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


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

Reply via email to