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

17505 by rjollos on 2019-09-18 17:01:12
TracSumFields 2.0.0dev: Enable for wiki view

Check template rather than path, so the plugin works
even if the default handle is, for example, the Query page.

17504 by rjollos on 2019-09-18 17:00:20

TracSumFields 2.0.0dev: Refactor jQuery

  • Use recommended document ready handler syntax
  • Fix indentation
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.



Author: robguttman
Maintainer: Cinc-th

Last modified 6 years ago Last modified on Jun 14, 2018, 7:00:09 PM

Attachments (1)

Download all attachments as: .zip