wiki:TracTicketStatsPlugin

Status

The plugin is undergoing 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).
  • May not work with MySQL and PostgreSQL (#8703).

Trac Ticket Statistics

Description

This plugin 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 a TracQuery to be used as an arguments.

This plugin requires:

  • YUI Charts is used to render the graph.
  • Adobe Flash player needs to be installed on the client.

See also TicketChartsMacro, TracMetrixPlugin, TracGvizPlugin.

Screenshots

Version 2.1:

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.

defect

39 / 49

enhancement

10 / 16

task

2 / 2

Download

Download the zipped source from here.

Source

You can check out TracTicketStatsPlugin from [ /svn/tracticketstatsplugin here] using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Add ticketstats.* = enabled to the [components] section of your trac.ini file:

[components]
ticketstats.* = enabled

The following options can be specified in trac.ini (default values are shown):

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

Examples

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')]]

The macro arguments are:

  • height: graph height, default 500 px.
  • column_width: default 40 px.
  • res_days: resolution (in days) for each point in the graph.
  • title
  • daterange: date range specified as "from;to" or just "to". Using Trac's 0.12 date field query syntax (trac:wiki:TracQuery?version=20#QueryLanguage).

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.

(more)

Author/Contributors

Author: echo0101
Maintainer: Ryan J Ollos
Contributors: mixedpuppy (#3900), simon (#3921)

Last modified 4 months ago Last modified on Feb 25, 2016, 3:23:23 PM

Attachments (1)

Download all attachments as: .zip