Contents

Ticket list in a box on the wiki page

News

This macro is unified for several trac versions (0.9, 0.10, 0.11, 0.12dev)
since 2008-07-31 (r4088).
Note that repository structure is changed and the version directory
are no longer exist.
Get latest source from ​here.

Description

This macro displays the list of ticket numbers in a box on the right
side of the page compactly.
You can specify the tickets explicitly or use the result of reporting.
The tickets will be displayed as sorted and uniq'ed.
An example image is shown on the right of this page.

Download and Source

Install

For trac 0.10 or before, copy TicketBox.py to wiki-macros directory
of your trac environment or system wide wiki-macros directory.

For trac 0.11 or later, copy TicketBox.py to plugins directory of your
trac environment (no need enable this plugin explicitly).
Or copy it to system wide plugins directory then enable the
TicketBox plugin via admin page.

Basic Usage

These example shows the simple list of tickets by specifiying ticket numbers.
'#' character can be omitted:

[[TicketBox(#1,#7,#31)]]
[[TicketBox(1,7,31)]]

These examples lists the tickets from the report result.
The third example uses the dynamic variable 'COMPONENT'.
The special variable 'USER' is always available and it is
your login name (or 'anonymous' if not logged in).
You can override the variable 'USER' like in the fourth example.