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.

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.

defect

2 / 2

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

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.

(more)

Author/Contributors

Author: robguttman
Maintainer: Cinc-th
Contributors:

Last modified 17 months ago Last modified on Jun 14, 2018, 7:00:09 PM

Attachments (1)

Download all attachments as: .zip