[rt-devel] Populating Custom Fields via Template

Jannae Jacks jannae at nyu.edu
Sat Mar 19 16:34:12 EDT 2016


Any ideas on this? Appreciate any assistance, including other ideas if this
is not possible.

Thanks!

On Fri, Mar 11, 2016 at 4:43 PM, Jannae Jacks <jannae at nyu.edu> wrote:

> Hi all,
>
> I am curious if it is possible to add custom field values when creating
> tickets via templates. I know that the ticket object is available, but it
> seems to be in a very limited capacity.
>
> This doesn't seem to work:
>
> { $Ticket->AddCustomFieldValue(Field => 'MyCField', Value => 'MyCValue',
> RecordTransaction => 1 ); }
>
> And neither does this:
>
> { $self ->Ticket->AddCustomFieldValue(Field => 'MyCField', Value =>
> 'MyCValue', RecordTransaction => 1 ); }
>
> Any ideas?
>
> Thanks!
>
> --
> Jannae Jacks
> Senior Network Security Analyst, Technology Security Services
> New York University, Information Technology
> 726 Broadway, 2nd Floor, New York, NY 10003
> http://www.nyu.edu
>



-- 
Jannae Jacks
Senior Network Security Analyst, Technology Security Services
New York University, Information Technology
726 Broadway, 2nd Floor, New York, NY 10003
http://www.nyu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20160319/465315ed/attachment.html>


More information about the rt-devel mailing list