Sums specified fields in custom queries


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.

To avoid an issue with batch modify requests (#13180), it is suggested to use Trac 1.2.2 or later (#12811).

Bugs/Feature Requests

Existing bugs and feature requests for SumFieldsPlugin are here.

If you have any issues, create a new ticket.


2 / 2


1 / 2


1 / 1


Download the zipped source from here.


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


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:

sumfields.* = enabled

fields = effort, actual_effort

Recent Changes

16603 by rjollos on 2017-05-20 20:29:18
TracSumFields 2.0.0dev: Revise r16600 to fix column alignment

In Trac 1.2.2+ an empty cell will be added when the batch
modify column is added to the table, so that the columns
maintain alignment.

Refs #13180.

16600 by rjollos on 2017-05-19 16:52:02
2.0.0dev: Don't add multiple tfoot per table

Refs #13180.

16595 by rjollos on 2017-05-17 19:07:26
2.0.0dev: Add sum row in a tfoot

Refs #13180.



Author: robguttman
Maintainer: Cinc-th

Last modified 9 days ago Last modified on May 19, 2017, 5:08:07 PM

Attachments (1)

Download all attachments as: .zip