wiki:ChildTicketTreeMacro

Version 4 (modified by Mark Ryan, 13 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 in the output. (Default:false)

[[ChildTicketTree(root=true)]]

Recent Changes

17689 by rjollos on 2020-04-06 19:48:50
Tracchildtickettreemacro 1.1.1: Fix mispelled import

Refs #13775.

17688 by rjollos on 2020-04-06 19:47:06
Tracchildtickettreemacro 1.1.1: Fix usage with ticket id as first arg

Fixes #13775.

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

Fixes #13204.

(more)

Author/Contributors

Author: walnut
Maintainer: walnut
Contributors: