[rt-users] CustomFields in Scrip

Paul Tomblin ptomblin at xcski.com
Mon Apr 9 15:35:27 EDT 2012

I have a ScripAction that activates when a ticket is resovled.  If I set a
custom field and resolve the ticket on the web site (
http://localhost:8080/Ticket/Modify.html?id=1), I'm trying to pull out the
new custom field value in the Scrip using

# Find the custom field "myCustom"
my $myCustom =  $ticket->FirstCustomFieldValue("myCustom");
$RT::Logger->debug("custom field = ". $myCustom);

but it never gets the value.  Is there somewhere else I need to look for
that custom field?  Is it in the TransactionObj instead?  Am I going to
have to use TransactionBatch for this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120409/49681d01/attachment.html>

More information about the rt-users mailing list