Version 28 (modified by rjollos, 5 years ago) (diff)

Added option from #3921.

Trac Ticket Statistics


TracTicketStatsPlugin visualizes Trac ticket statistics. It plots the number of open tickets, the number of new tickets and the number of tickets closed.

See also TicketChartsMacro, TracMetrixPlugin, TicketStatsMacro.


This plugin was developed for Trac 0.11 with Genshi running Python 2.6. I have not tested this plugin in other environment so if you have any issues, create a new ticket or fix them and submit a patch.

Note: Seems also to work with Python 2.4.

Screenshot of v2.1 on our dev server.


This plugin adds the permission TSTATS_VIEW. User must have this permission to view the ticket statistics page.

Bugs/Feature Requests

Existing bugs and feature requests for TracTicketStatsPlugin are here.

If you have any issues, create a new ticket.


Don't forget to add ticketstats.* = enabled to the [components] section of trac.ini.

The following options can be specified in trac.ini (default values are shown):

yui_base_url =      # Location of YUI API


Download the zipped source from here.

Download the egg from here


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

Other Technologies Used

  • YUI Charts is used to render the graph.
  • Adobe flash player needs to be installed on the client.


This plugin can be used to visualize the progress of a project by seeing the rate of tickets being created vs. tickets being closed. Graphs can be customized.

Recent Changes

[13989] by rjollos on 2014-06-20 00:56:40
Add filtering by component. Patch by mpaf98@…. Fixes #11834.
[13681] by rjollos on 2014-02-19 12:53:37
Fixed indentation and trimmed whitespace using
[13533] by rjollos on 2013-12-29 22:16:38
Fix error in equality operator. Refs #11433.


Author: Prentice Wongvibulsin echo0101
Maintainer: rjollos
Contributors: mixedpuppy (thanks for the patch! #3900), simon (thanks for the patch! #3921)

Attachments (1)

Download all attachments as: .zip