wiki:TicketStatsMacro

Version 10 (modified by rjollos, 15 months ago) (diff)

Added contributor.

Time based graph of ticket statistics

Notice: This macro has been merged into the TracTicketStatsPlugin. Please switch to using that plugin if you wish to receive the latest features and bugfixes.

Description

Generates time based graphs of total, new and closed tickets. It's based on TracTicketStatsPlugin but allows filter the tickets you want to display (e.g. graph only errors) as well as other parameters.

See also TicketChartsMacro, TracTicketStatsPlugin, TracMetrixPlugin.

Requirements

Credits

The code it's based on TracTicketStatsPlugin and parts of TicketChartsMacro.

The date range parameter it's stolen from Trac trunk (the format for upcoming date field queries).

Bugs/Feature Requests

Existing bugs and feature requests for TicketStatsMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TicketStatsMacro from here using Subversion, or browse the source with Trac.

Installation

TBD

Macro arguments

Example

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

Recent Changes

[13098] by rjollos on 2013-05-13 03:07:55
Refs #9261: Switch to using Yahoo YUI API 2.9.0. It appears that 2.5.2 is no longer available.
[13097] by rjollos on 2013-05-13 03:07:35
Fixes #9261: Added Trac 0.12 compatibility, in which microsecond timestamps are used rather than timestamps with a resolution of seconds.
[13096] by rjollos on 2013-05-13 03:07:17
Refs #8140: Fixed PEP-0008 violations.

Author/Contributors

Author: gnarvaja
Maintainer: gnarvaja
Contributors: rjollos

Attachments (1)

Download all attachments as: .zip