wiki:TracTicketStatsPlugin

Version 37 (modified by rjollos, 12 months ago) (diff)

Use the NewsFlashMacro.

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).

Priority Enhancements

News

Trac Ticket Statistics

Description

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.

License: This plugin currently has no license. Ticket #9808 has been opened to try and contact the author.

Requirements

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.

Screenshots

http://trac-hacks.org/attachment/wiki/TracTicketStatsPlugin/screenshot01.png
Screenshot of v2.1 on our dev server.

Permissions

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.

Installation

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):

[ticketstats]
yui_base_url = http://yui.yahooapis.com/2.5.2      # Location of YUI API

Download

Download the zipped source from here.

Source

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.

Example

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

[13681] by rjollos on 2014-02-19 12:53:37
Fixed indentation and trimmed whitespace using reindent.py.
[13533] by rjollos on 2013-12-29 22:16:38
Fix error in equality operator. Refs #11433.
[13421] by rjollos on 2013-10-27 08:25:57
Add support for the yui_base_url parameter to macro. Patch by mbowie@…. Fixes #11363.

Author/Contributors

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

Attachments (1)

Download all attachments as: .zip