[rt-users] using rt command line to check whether a queue exists

Thomas Sibley trs at bestpractical.com
Mon May 13 15:14:11 EDT 2013


On 05/13/2013 11:00 AM, Darin Perusich wrote:
> Hello All,
> 
> I've been playing around w/scripting the creation of queues and
> haven't been able to figure this out. How do I use the rt command line
> tool to list whether a queue exists or not? 'rt ls -t queue "name =
> queue1"' throws unsupported object, "rt list -q queue1" lists the
> tickets.

ls/list is for tickets only.  You want "show":

	rt show queue/FooBar
	rt show queue/13
	rt show -t queue "Foo Bar"




More information about the rt-users mailing list