Version 40 (modified by Ryan J Ollos, 5 years ago) (diff)

Fixed Image macro call.


The plugin is undergoing rapid development and is subject to frequent change leading up to the next stable release (3.0.0). Please report back if you are able to test out the latest version.

Known (Confirmed) Issues

  • There are issues that make this plugin appears to not work in certain cases. The issues are thought to be related to poor handling of the start and end dates (see #3412, #8296, #8330).
  • Does not work with PostgreSQL (#3899).


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. The plugin includes a macro that allows t:TracQuery's to be used as arguments.

See also TicketChartsMacro, TracMetrixPlugin.


Screenshot of v2.1 on our dev server.

Screenshot of v2.1 on our dev server.

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 [download:tracticketstatsplugin 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.

The macro allows graphs to be inserted within wiki markup.

[[TicketStats(title = Total tickets last 15 days, height=250,daterange=15d,res_days=1)]]
[[TicketStats(title = Error tickets by week last 3 months, daterange=3m,res_days=7, query=Type='error')]]

No image "severalGraphs.png" attached to TicketStatsMacro

The macro arguments are:

Recent Changes

16715 by rjollos on 2017-07-18 16:15:30
Remove empty directories
16701 by rjollos on 2017-07-10 22:36:05
Tracticketstats 3.0.0dev: Make compatible with Trac 1.0+

The plugin no longer supports Trac < 1.0. Fixed SQL injection

Fixes #8703, #13231.

16699 by rjollos on 2017-07-10 16:39:49
Tracticketstats 3.0.0dev: Add dependency link


Author: echo0101
Maintainer: rjollos
Contributors: mixedpuppy (#3900), simon (#3921)

Attachments (1)

Download all attachments as: .zip