Version 23 (modified by rjollos, 6 years ago) (diff)

Fit screen capture to page.

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. This plugin is written for Trac 0.11.

UPDATE: I've been pretty busy and have neglected to work on this plugin. I recently found some time to apply some of the patches you guys have submitted in the bug reports and implemented some spiffy new features.

  • Fixed some bugs
  • Static URLs (allows you to bookmark graphs, email, etc.)
  • Tickets by Milestone
  • XHR/JSON - content is now sent over XHR rather than rendering a new page.

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


Download the zipped source from [download:tracticketstatsplugin 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.


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

15474 by rjollos on 2016-04-14 02:37:19
Remove tag_svn_revsion attribute

The attribute isn't supported in setuptools >= 10.

15265 by rjollos on 2016-02-11 05:29:08
Remove unnecessary svn:mime-type on js and html files

svn:mime-type was set to "plain" for many files.

15264 by rjollos on 2016-02-11 05:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.



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

Attachments (1)

Download all attachments as: .zip