wiki:SumStatsPlugin

Version 1 (modified by robguttman, 3 years ago) (diff)

New hack SumStatsPlugin, created by robguttman

Sums specified field in Roadmap and Milestone stats

Description

This is a complement to the Sum Fields plugin which sums fields in a query or report. This plugin sums fields for the Roadmap and Milestone views. These plugins are useful when assessing progress based on "points" or "ideal days" of effort instead of ticket count.

This plugin was inspired by the CustomRoadmapPlugin but overcomes its limitation of requiring a patch. Additionally, this plugin allows for any fields to be used to define a group, not just the default status field.

Bugs/Feature Requests

Existing bugs and feature requests for SumStatsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Example

Here's an example trac.ini config that combines a custom phase field with the default status workflow:

[roadmap]
stats_provider = SumTicketGroupStatsProvider

[milestone]
stats_provider = SumTicketGroupStatsProvider

[milestone-groups]
closed = fixed
closed.field = resolution
closed.label = fixed
closed.order = 1
closed.overall_completion = true
readying = *
readying.field = phase
readying.order = 2
readying.color = YellowGreen
implementation = implementation
implementation.field = phase
implementation.order = 3
implementation.color = Yellow
waiting = waiting
waiting.field = phase
waiting.order = 4
waiting.color = White
scoping = sizing,definition
scoping.field = phase
scoping.order = 5
scoping.color = Red

Recent Changes

[14026] by rjollos on 2014-07-25 13:31:38
Changed license to 3-Clause BSD with permission of author. Refs #11832.
[13559] by jun66j5 on 2014-01-08 22:36:13
Removed duplicated definitions of option to fix hidden documentation for filter on TracIni macro (fixed #11480)
[13548] by rjollos on 2014-01-05 09:21:38
Removed debug print statment. Refs #11478.

Author/Contributors

Author: robguttman
Maintainer: robguttman
Contributors:

Attachments (2)

Download all attachments as: .zip