[rt-users] Referring to CustomField by ID in TicketSQL

Thomas Sibley trs at bestpractical.com
Tue Dec 11 22:19:15 EST 2012

On 12/11/2012 05:42 PM, John Kelsh wrote:
> Hi All,
> Is this possible? i.e. can a custom field value be selected by custom field id?
> I want to use this to distinguish between two identically named custom fields.

Have you tried it?

CF.42 = 'foo' works just fine.  So does 'CF.{42}'.  If your two CFs are
applied to different queues, you can also use the syntax:
'CF.QueueName.{CF Name}'

More information about the rt-users mailing list