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

Darin Perusich darin at darins.net
Mon May 13 15:28:53 EDT 2013


On Mon, May 13, 2013 at 3:14 PM, Thomas Sibley <trs at bestpractical.com> wrote:
> 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"
>

Excellent...thanks!



More information about the rt-users mailing list