[[PageOutline(2-5,Contents,pullout)]] = Display complete ticket hierarchy for ChildTicketsPlugin tickets == Description In tickets with children, only immediate children of that parent are displayed. This macro addresses that issue by printing a whole tree of child tickets, ie the complete hierarchy. The macro is specifically for use with the ChildTicketsPlugin. Used alone in a ticket field, it will take the current ticket as the top level and print the tree: {{{ [[ChildTicketTree]] }}} Can be used in any wiki page anywhere and provides a tree for ticket with id '#1' ('1', that is without the '#' is also accepted): {{{ [[ChildTicketTree(#1)]] }}} The ticket number can also be explicitly given as an argument: {{{ [[ChildTicketTree(ticket=1)]] }}} Include the parent ticket in the output (default:false): {{{ [[ChildTicketTree(root=true)]] }}} Print the child ticket tree list within a border (actually a fieldset, the 'legend' is not modifiable): {{{ [[ChildTicketTree(border=true)]] }}} Arguments: ||= Field =||= Description =||= Default value =|| || ticket || The ticket number to 'query'. The number can also be provided as a single stand alone argument. If no ticket is supplied and the macro is used within a ticket, the ticket number will be taken as the intended. || || || !root || Boolean value indicating whether the parent ticket should be listed in tree. || False || || border || Boolean value indicating whether a border should be drawn around the child ticket list. || False || == Bugs/Feature Requests Existing bugs and feature requests for ChildTicketTreeMacro are [report:9?COMPONENT=ChildTicketTreeMacro here]. If you have any issues, create a [/newticket?component=ChildTicketTreeMacro new ticket]. [[TicketQuery(component=ChildTicketTreeMacro&group=type,format=progress)]] == Download Download the zipped source from [export:childtickettreemacro here]. == Source You can check out ChildTicketTreeMacro from [/svn/childtickettreemacro here] using Subversion, or [source:childtickettreemacro browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Recent Changes [[ChangeLog(childtickettreemacro, 3)]] == Author/Contributors '''Author:''' [wiki:walnut] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''