[rt-users] Adding custom field values from Perl script.

Jacob Helwig Jacob at buschs.com
Thu Dec 7 11:20:36 EST 2006


I'm trying to add some values to a few tickets after I've gotten the
ticket object for them, without much luck.  I'm able to see any existing
values, no problem, but running $ticket->AddCustomFieldValue({ Field =>
$field_id, Value => $field_value }) doesn't appear to be doing anything
other than returning 1.  Checking the custom field values before and
after running AddCustomFieldValue shows no changes, as does showing the
ticket through the web interface.  I know I'm using the right field id,
since it's the same one I'm using to check what the current values are,
and field_value shouldn't be a problem, since it's just an int.  Am I
going about this entirely the wrong way?  Something obvious that I'm
just not seeing, after having stared at this for so long?

 

Thanks,

Jacob

 

-- 

Jacob Helwig

PC Technician

Busch's Help Desk

Desk: x35221

Direct: 734-214-8221

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20061207/5d489eeb/attachment.htm>


More information about the rt-users mailing list