Version 18 (modified by Prentice Wongvibulsin, 9 years ago) (diff)


Trac Ticket Statistics

Notice: This plugin is unmaintained and available for adoption.


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.


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.

===Older Version=== This screenshot shows what v1.0 of the plugin looks like. Mouse-over the elements on the graph to see the exact data points.


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

17239 by rjollos on 2018-07-15 01:04:06
Tracticketstats 3.0.0dev: Fix typo in template var

Refs #13231.

17237 by rjollos on 2018-07-08 20:21:21
Tracticketstats 3.0.0dev: Optimize redraw

Refs #13450.

17236 by rjollos on 2018-07-08 20:15:24
Tracticketstats 3.0.0dev: Modify macro to use plotly

Refs #13450.



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

Attachments (1)

Download all attachments as: .zip