[rt-users] CustomFields in Scrip

Paul Tomblin ptomblin at xcski.com
Tue Apr 10 11:29:20 EDT 2012


On Mon, Apr 9, 2012 at 3:35 PM, Paul Tomblin <ptomblin at xcski.com> wrote:

> 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?
>
> If anybody cares about this, yes, I had to use TransactionBatch.

-- 
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120410/e7f4bdc4/attachment.htm>


More information about the rt-users mailing list