Display complete ticket hierarchy for ChildTicketsPlugin tickets

Description

The macro is specifically for use with the ChildTicketsPlugin. In tickets with children, only immediate children of that parent are displayed. This macro addresses that issue by printing a whole tree (the complete hierarchy) of child tickets.

Bugs/Feature Requests

Existing bugs and feature requests for ChildTicketTreeMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out ChildTicketTreeMacro from here using Subversion, or browse the source with Trac.

Examples

Used alone in a ticket field, 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' ie. without '#' 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)]]

Recent Changes

[10828] by walnut on 10/23/11 20:52:32

fixes #9293 - Fixed generated links ... they now correctly point to 'ticket' - Many thanks for spotting and reporting the error.

[10560] by walnut on 08/06/11 23:26:31

ChildTicketTreeMacro

  • First 'official' release of the macro.
  • Only tested on 0.12 (but might work on other versions)
  • Requires ChildTicketsPlugin as a pre-requisite.

[10509] by walnut on 07/26/11 22:20:30

See #8992:

  • Commit a basic version of a macro to provide a full tree of child tickets (not just immediate children)
  • Still need to check a few things and tidy up (eg. when no tickets are found, and include a title/border/etc...)

[10508] by walnut on 07/26/11 22:13:30

New hack ChildTicketTreeMacro, created by walnut

Author/Contributors

Author: walnut
Maintainer: walnut
Contributors: