Re: [rt-users] The use of $Ticket{'TOP'}-CustomFieldValues($fieldname) with RT::Action::CreateTickets

2015-03-12 Thread Landon Stewart
On Mar 10, 2015, at 3:28 AM, Christian Loos cl...@netcologne.de wrote: @Alex: CreateTickets support both, CustomField and CF keys [1]. @Landon: Why don't you simply add this lines to you template, as you are using a static customfield list and don't want to add all customfields (assuming

Re: [rt-users] The use of $Ticket{'TOP'}-CustomFieldValues($fieldname) with RT::Action::CreateTickets

2015-03-10 Thread Alex Peters
You need to output CustomField-$cfname as the key, not CF-$cfname. On Tue, 10 Mar 2015 6:31 pm Landon Stewart lstew...@iweb.com wrote: Hello, It seems that one cannot load the values of a CF with $Ticket{'TOP'}-CustomFieldValues($fieldname). The result is an empty variable. I've confirmed

Re: [rt-users] The use of $Ticket{'TOP'}-CustomFieldValues($fieldname) with RT::Action::CreateTickets

2015-03-10 Thread Christian Loos
@Alex: CreateTickets support both, CustomField and CF keys [1]. @Landon: Why don't you simply add this lines to you template, as you are using a static customfield list and don't want to add all customfields (assuming you customfields are single value fields): CF-Customfield1:

Re: [rt-users] The use of $Ticket{'TOP'}-CustomFieldValues($fieldname) with RT::Action::CreateTickets

2015-03-10 Thread Landon Stewart
Hello RT-Users, Nevermind! :-) I'm doing a chain of RT::Action::CreateTickets and it turns out my problem was that the custom fields were not being set before the Investigation ticket creation and therefor the CF's had no values. Once the issue with that was resolved it all started working

Re: [rt-users] The use of $Ticket{'TOP'}-CustomFieldValues($fieldname) with RT::Action::CreateTickets

2015-03-10 Thread Landon Stewart
On Mar 10, 2015, at 2:29 AM, Alex Peters a...@peters.net wrote: You need to output CustomField-$cfname as the key, not CF-$cfname. CF-$cfname should work as well but more importantly nothing is being outputted there which is the problem I'm most concerned with. Landon Stewart :

[rt-users] The use of $Ticket{'TOP'}-CustomFieldValues($fieldname) with RT::Action::CreateTickets

2015-03-10 Thread Landon Stewart
Hello, It seems that one cannot load the values of a CF with $Ticket{'TOP'}-CustomFieldValues($fieldname). The result is an empty variable. I've confirmed that the foreach works for each of the $cfname in the @cflist since I get log entries for them but $cfvs-Next doesn't produce a value