[rt-users] RT CLI and Custom Fields

Kenneth Marshall ktm at rice.edu
Fri Jul 6 10:18:08 EDT 2007


Why are you putting the value in parentheses? The simple string
in single quotes should work.

Ken

On Fri, Jul 06, 2007 at 07:10:59AM -0700, Jeff Stark wrote:
> I just tried very similar to what you have Kevin, still no luck.
> 
> [jstark at server obj]# /opt/rt3/bin/rt list -i ('CF.{Severity Level} =
> "Sev 3"')
> -bash: syntax error near unexpected token `(' 
> 
> 
> - Stark
> 
> 
> 
> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin
> Falcone
> Sent: Thursday, July 05, 2007 3:59 PM
> To: RT Users
> Subject: Re: [rt-users] RT CLI and Custom Fields
> 
> 
> On Jul 5, 2007, at 3:16 PM, Jeff Stark wrote:
> 
> > has anyone successfully used the CLI to query RT Custom fields?  I 
> > found a few posts, but with no responses.
> >
> > Here is an example:
> >
> > /opt/rt3/bin/rt list -i ('CF.{Severity Level}' = 'Sev 3'")
> 
> This works fine for me
> 
> ./bin/rt  ls -i 'CF.{foo} = "bar"'
> 
> -kevin
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com Commercial support:
> sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 



More information about the rt-users mailing list