wiki:TracTicketStatsPlugin

Version 22 (modified by rjollos, 4 years ago) (diff)

Added links to related plugins

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

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.

Install

Trac.ini

Don't forget to add:

ticketstats.* = enabled

to the [components] section of trac.ini

Download

Download the zipped source from here.

Download the egg 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.

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

[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 reindent.py.
[13533] by rjollos on 2013-12-29 22:16:38
Fix error in equality operator. Refs #11433.

Author/Contributors

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

Attachments (1)

Download all attachments as: .zip