wiki:SumFieldsPlugin

Version 6 (modified by Rob Guttman, 14 years ago) (diff)

--

Sums specified fields in custom queries

Description

Example:

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

Configuration

Enable plugin and specify list of fields to sum in trac.ini:

[components]
sumfields.* = enabled

[sumfields]
fields = effort, actual_effort

Bugs/Feature Requests

Existing bugs and feature requests for SumFieldsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:sumfieldsplugin here].

Source

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

Example

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

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: robguttman
Contributors:

Attachments (1)

Download all attachments as: .zip