wiki:SumFieldsPlugin

Sums specified fields in custom queries

Description

This plugin calculates the sum of specified fields, for example estimations in hours of effort. Example:

This is useful as flexible means to sum story points or comparable numeric data for any arbitrary group of tickets such as milestones, owners, etc.

This is a JavaScript solution (and my first published plugin), would be interested in learning better/simpler ways to achieving this functionality.

Bugs/Feature Requests

Existing bugs and feature requests for SumFieldsPlugin are here.

If you have any issues, create a new ticket.

defect

1 / 1

enhancement

1 / 2

task

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

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

Enable the plugin and specify a list of fields to sum in your trac.ini file:

[components]
sumfields.* = enabled

[sumfields]
fields = effort, actual_effort

Recent Changes

16042 by rjollos on 2016-12-01 08:43:56
2.0.0dev: Remove debug print statement

Refs #12976.

16041 by rjollos on 2016-12-01 06:48:34
2.0.0dev: Conform to PEP8
16040 by rjollos on 2016-12-01 06:46:47
2.0.0dev: Replace virtual script with real script

Fixes #12976.

(more)

Author/Contributors

Author: robguttman
Maintainer: Cinc-th
Contributors:

Last modified 12 months ago Last modified on Nov 26, 2015, 11:38:38 AM

Attachments (1)

Download all attachments as: .zip