Re: Populating Custom Fields via Template
Jannae Jacks <[email protected]> Sat, 19 Mar 2016 16:34:12 -0400
| Newsgroups | gmane.comp.bug-tracking.request-tracker.devel |
|---|---|
| Message-ID | <CAHYk17HzM56PVx=3rXV5ueRcZu2g57KR0BmWu6B8OiE+Tq6sXQ@mail.gmail.com> |
--===============2050662520== Content-Type: multipart/alternative; boundary=001a1137b81c80be7a052e6cca4f --001a1137b81c80be7a052e6cca4f Content-Type: text/plain; charset=UTF-8 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 <[email protected]> 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 --001a1137b81c80be7a052e6cca4f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Any ideas on this? Appreciate any assistance, including ot= her ideas if this is not possible.<div><br></div><div>Thanks!</div><div cla= ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Mar 11, 2016 at 4= :43 PM, Jannae Jacks <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra">Hi all,</div><d= iv class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">I am curious = if it is possible to add custom field values when creating tickets via temp= lates. I know that the ticket object is available, but it seems to be in a = very limited capacity.<br><br clear=3D"all"><div>This doesn't seem to w= ork:</div><div><br></div><div>{ $Ticket->AddCustomFieldValue(Field =3D&g= t; 'MyCField', Value =3D> 'MyCValue', RecordTransaction = =3D> 1 ); }<br></div><div><br></div><div>And neither does this:</div><di= v><br></div><div>{ $self ->Ticket->AddCustomFieldValue(Field =3D> = 'MyCField', Value =3D> 'MyCValue', RecordTransaction =3D= > 1 ); }<br></div><div><br></div><div>Any ideas?=C2=A0</div><div><br></d= iv><div>Thanks!</div><span><font color=3D"#888888"><div><br></div>-- <br><d= iv><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><spa= n style=3D"font-size:12.8px">Jannae Jacks</span><br style=3D"font-size:12.8= px"><span style=3D"font-size:12.8px">Senior Network Security Analyst, Techn= ology Security Services</span><br style=3D"font-size:12.8px"><span style=3D= "font-size:12.8px">New York University, Information Technology</span><br st= yle=3D"font-size:12.8px"><span style=3D"font-size:12.8px">726 Broadway, 2nd= Floor, New York, NY 10003</span><br style=3D"font-size:12.8px"><span style= =3D"font-size:12.8px"><a href=3D"http://www.nyu.edu" target=3D"_blank">http= ://www.nyu.edu</a></span></div></div></div></div></div> </font></span></div></div> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div><div di= r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><span style=3D= "font-size:12.8000001907349px">Jannae Jacks</span><br style=3D"font-size:12= .8000001907349px"><span style=3D"font-size:12.8000001907349px">Senior Netwo= rk Security Analyst, Technology Security Services</span><br style=3D"font-s= ize:12.8000001907349px"><span style=3D"font-size:12.8000001907349px">New Yo= rk University, Information Technology</span><br style=3D"font-size:12.80000= 01907349px"><span style=3D"font-size:12.8000001907349px">726 Broadway, 2nd = Floor, New York, NY 10003</span><br style=3D"font-size:12.8000001907349px">= <span style=3D"font-size:12.8000001907349px"><a href=3D"http://www.nyu.edu"= target=3D"_blank">http://www.nyu.edu</a></span></div></div></div></div></d= iv> </div></div> --001a1137b81c80be7a052e6cca4f-- --===============2050662520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --------- RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Washington DC - May 23 & 24, 2016 --===============2050662520==--