wiki:ChildTicketTreeMacro

Version 3 (modified by Mark Ryan, 6 years ago) (diff)

--

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 [download:childtickettreemacro 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 (given as argument above) in the output.

[[ChildTicketTree(root=true)]]

Recent Changes

16651 by rjollos on 2017-06-08 05:21:01
Tracchildtickettreemacro 1.1.0dev: Adapt to Trac 1.0 API

Fixes #13204.

16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
10828 by walnut on 2011-10-23 18:52:32

fixes #9293

  • Fixed generated links ... they now correctly point to 'ticket'
  • Many thanks for spotting and reporting the error.
(more)

Author/Contributors

Author: walnut
Maintainer: walnut
Contributors: