[rt-users] RT CLI CF query operators

support at pureview.com support at pureview.com
Wed Aug 26 15:25:18 EDT 2015


RT users,


I trying to use RT CLI on a CF for operators and I having a hard time to
get this working. Can any help on this. I do not know what I'm doing
wrong.


RT: rt.4.2
OS : RH 6.0


rt list -i "'CF.{Modtrak}' > 0 AND Created >= '2015-07-01' AND Create <=
'2015-07-31'"
rt: Invalid query: 'Unknown field 'Create' in ''CF.{Modtrak}' > 0 AND
Created >= '2015-07-01' AND Create <= '2015-07-31'' at
/opt/rt4/sbin/../lib/RT/Tickets.pm line 2943.

Stack:
  [/opt/rt4/sbin/../lib/RT/Tickets.pm:2943]
  [/opt/rt4/sbin/../lib/RT/SQL.pm:172]
  [/opt/rt4/sbin/../lib/RT/Tickets.pm:2979]
  [/opt/rt4/sbin/../lib/RT/Tickets.pm:2997]
  [/opt/rt4/share/html/REST/1.0/search/ticket:89]
  [/opt/rt4/share/html/REST/1.0/autohandler:54]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:680]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:368]
  [/opt/rt4/share/html/autohandler:53]
'.
Invalid query: 'Unknown field 'Create' in ''CF.{Modtrak}' > 0 AND Created
>= '2015-07-01' AND Create <= '2015-07-31'' at
/opt/rt4/sbin/../lib/RT/Tickets.pm line 2943.

Stack:
  [/opt/rt4/sbin/../lib/RT/Tickets.pm:2943]
  [/opt/rt4/sbin/../lib/RT/SQL.pm:172]
  [/opt/rt4/sbin/../lib/RT/Tickets.pm:2979]
  [/opt/rt4/sbin/../lib/RT/Tickets.pm:2997]
  [/opt/rt4/share/html/REST/1.0/search/ticket:89]
  [/opt/rt4/share/html/REST/1.0/autohandler:54]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:680]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:368]
  [/opt/rt4/share/html/autohandler:53]





More information about the rt-users mailing list