Version 36 (modified by Andrej Tokarčík, 13 years ago) (diff)

Trac 0.11 is fine once again!

Progress meter with arguments similar to TicketQuery macro


This macro plugin was created because of this task for GHOP/Python Software Foundation.

It contains a macro to display a progress meter similar to the meters visible in the Roadmap. In a wiki page it can be used, for example, for building a complete report of the progress on tickets owned by a particular person. The ProgressMeter macro works with the same comma-separated list of keyed parameters (named fields of a ticket) as the TicketQuery macro, except the argument [#status-arg status] and format.

For more complex progress statistics and metrics see TracMetrixPlugin.

Usage examples

Display a progress meter on all your (if you're logged in) tickets in the milestone '0.1a':

[[ProgressMeter(owner=$USER, milestone=0.1a)]]

A progress meter on tickets associated with the wiki component:



The macro supports the following configuration options:

  • stats_provider (since r5224): Name of the component implementing ITicketGroupStatsProvider, which is used to collect statistics on groups of tickets for meters generated by the ProgressMeterMacro plugin. (You probably don't need to change this.)

All of these must be put into the progressmeter section of trac.ini. The progress bars themselves can be modified using wiki:TracIni#milestone-groups-section.

The status argument

The status argument is ignored since r5224 triggers an error since r8558. If you want to define which ticket states are considered closed have a look at the appropriate section of trac.ini instead.


Download the zipped source from [download:progressmetermacro here].


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


See wiki:TracPlugins#InstallingaTracPlugin for the installation instructions. Please note Trac 0.11.5 is a minimum requirement in order for the plugin to work.

Bugs/Feature Requests

Existing bugs and feature requests for ProgressMeterMacro are here. If you have any issues, create a new ticket.

Recent Changes

14871 by rjollos on 2015-08-11 19:53:08
Don't enforce Python version in, it is problematic.
11720 by qwp0 on 2012-07-09 23:24:20
ProgressMeterMacro: Version bump.
11719 by qwp0 on 2012-07-09 23:24:15
ProgressMeterMacro: Major code revision and unification across the supported Trac versions.