[rt-users] Command line link tree

Joshua Colson jcolson at voidgate.org
Wed Jun 28 19:26:03 EDT 2006


Does anyone know if there is a way to build a hierarchy of tickets via
the CLI based on links. Similar to what you see in the [Links] section
of the ticket display with the exception of displaying multiple parent
tickets at once.

I know that I can do something like:

rt ls -i "Queue='General' AND CF.{Type} = 'Parent'} | \
 sed 's@$@/links@;' | rt show -

which provides me with close to what I want but I would like some of the
main ticket fields (such as Subject, Owner, etc) included in the output.

Thanks.

-- 
Joshua Colson <jcolson at voidgate.org>




More information about the rt-users mailing list