Plugins Directory » Computed Custom Field

14270 Author: Yakov Annikov
Website: https://github.com/annikoff/redmine_plugin_computed_custom_field
Code repository: https://github.com/annikoff/redmine_plugin_computed_custom_field
Registered on: 2015-09-20 (about 2 years ago)
Current version: 1.0.6
Compatible with: Redmine 3.4.x
User ratings:   (13)

This plugin provides a possibility to create a computed custom field. The value of a computed field can be set by formula. In formula constructions like cfs[cf_id] are replaced by IDs of custom fields. The valid formula is a valid Ruby code executed when customized object is updated. To put a field ID in the formula, double-click on an item in the list of available fields.

Installation notes

Clone from GitHub

git clone https://github.com/annikoff/redmine_plugin_computed_custom_field.git computed_custom_field

Or download ZIP-archive and extract it into "computed_custom_field" directory.

Run migrations

rake redmine:plugins:migrate

To make a feature request or an error report please create new issue https://github.com/annikoff/redmine_plugin_computed_custom_field/issues

Changelog

1.0.6 (2017-08-07)

Compatible with Redmine 3.4.x.

Added
  • Redmine 3.4.x support.

1.0.5 (2017-03-21)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x.

Changed
  • PluginGemfile.

1.0.4 (2017-02-24)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x.

Added

1.0.3 (2017-02-20)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x.

Added
  • An additional information for available fields list.

1.0.2 (2017-02-20)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x.

Fixed
  • Migration.

1.0.1 (2017-02-20)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x.

Fixed
  • Migration.

1.0.0 (2017-02-15)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x.

Added
  • New formula constructions cfs[cf_id]. Thanks to ecanuto for the idea.
  • Tests.
  • CHANGELOG.
  • Redmine 2.5.x support.
Changed
  • Code has been rewritten from scratch.
  • No backward compatibility with older versions.
  • There is no separate computed format anymore. Custom field of any built-in format can be created as computed.
  • README.
Removed
  • Old formula constructions %{cf_id}.
  • Output formats.

0.0.8 (2016-11-27)

Compatible with Redmine 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x.

Added
  • Error handling to prevent internal server errors. From swiehr.
  • zh translation from archonwang.
Changed
  • README.
Fixed
  • Link formatting.

0.0.7 (2016-08-29)

Compatible with Redmine 3.2.x, 3.1.x, 2.6.x.

Added
  • Markdown link format support.
  • Grouping functionality for queries. From plotterie.
Changed
  • README.
Fixed
  • Typo in a custom field form. From swiehr.
  • Error when validating DateTime.

0.0.6 (2016-01-15)

Compatible with Redmine 3.2.x, 3.1.x, 2.6.x.

Added
  • Totalable support for Redmine 3.x.
Fixed
  • Error when trying to save iIssue from TimeEntry if Issue does not present.

0.0.5 (2015-12-21)

Compatible with Redmine 3.1.x, 2.6.x.

Added Changed
  • README.
  • Error message about formula computing.
Fixed
  • Exclude Document class from list of classes for a patch.

0.0.4 (2015-10-22)

Compatible with Redmine 3.1.x, 2.6.x.

Added
  • Boolean and Percentage output formats.
  • TimeEntry callbacks to re-save Issue.
  • fr translation from Atmis.
Removed
  • Tests examples
Fixed
  • Bug when formula validation

0.0.3 (2015-09-23)

Compatible with Redmine 3.1.x, 2.6.x.

Added
  • String and Datetime output formats.
  • Query filter options.
Fixed
  • Formula validation is evaluated in proper context.

0.0.2 (2015-09-20)

Compatible with Redmine 3.1.x, 2.6.x.

Added
  • Int and Float output formats.
  • en translation.
  • es translation from lublasco.
  • Formula validation.
Changed
  • List of classes for a patch.
  • README.
  • Excluded CF own id from available fields list.
Removed
  • Groups of custom fields from creation form.
Fixed
  • Conversion error when formula computation

0.0.1 (2015-08-13)

Compatible with Redmine 3.1.x, 2.6.x.

Added
  • Base functionality.

User ratings

  by Eva Encabo 13 days ago

excellent plugin

  by Alex Zuev 2 months ago

  by Rajesh Kotian 10 months ago

Thanks for a great Plugin.. I was trying to get the pending hours for a issue, tried this formula
self.estimated_hours - self.total_spent_hours

it gives the following error: Formula undefined method `-' for nil:NilClass

Can you please guide me

  by Kush Suryavanshi about 1 year ago

  by Maxim KruĊĦina about 1 year ago

  by Stanislav Solntsev over 1 year ago

  by Alex Alex almost 2 years ago

  by Igor Blitz almost 2 years ago

Is it possible to make plugin compatibile with readmine 2.3.3?
rake aborted !!
NameError: uninitialized constant Redmine::FieldFormat
/plugins/computed_custom_field/lib/patches/field_format.rb:5:in

Any help?

  by Quan VN almost 2 years ago

Excellent. This enhances redmine usefullness

  by Didier Head almost 2 years ago

The exact feature I needed ! Works well (tested with RM 3.2.0).

  by Adriano Ceccarelli almost 2 years ago

Very good and applied in various scenarios.
Apart from the efficient support of Annikov

  by Pierre Maigne about 2 years ago

Excellent plugin ! It gives you endless possibilities to customize Redmine.

  by Luis Blasco about 2 years ago

Great plugin! Works perfectly with Redmine 3.x. Thanks a lot!