[rt-users] Need help referencing custom fields in CreateTicket template

Kenneth Crocker KFCrocker at lbl.gov
Thu Aug 23 19:04:29 EDT 2007


David,


	We are also on 3.4.4 and we have several scrips that use custom fields. 
are you sure it is still enabled sinceothers can mess with it the way 
your privileges are set? Has someone modified it? What is the code?


Kenn
LBNL


davidturnau wrote:
> I have a Create Ticket scrip that works until I try to reference a custom
> field. The template looks like this:
> 
> ===Create-Ticket: hardware
> Queue: Hardware
> Subject: {$Ticket->FirstCustomFieldValue('Product');} 
> 
> The Custom Field "Product" exists and is applied to queue that the scrip is
> running in. I have set the 'see', 'modify' and 'admin' rights for everyone. 
> 
> The worst part is that this was working fine yesterday and today it is
> failing. I have tried many options to set this value that I have found on
> this mailing list and I still can't get it to work.
> 
> My RT version is 3.4.4
> My server is running Ubuntu 6.10
> The syslog error is:
> Aug 23 13:08:29 support-server RT: Exiting subroutine via next at
> /usr/share/request-tracker3.4/lib/RT/Action/CreateTickets.pm line 980.
> (/usr/share/request-tracker3.4/lib/RT.pm:287)
> 
> Any suggestions would be greatly appreciated.



More information about the rt-users mailing list