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 6 years ago)
Current version: 1.0.7
Compatible with: Redmine 4.0.x, 3.4.x, 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.x
User ratings:   (18)

This project is no longer maintained

I have dropped support for this plugin, but luckily Darko has taken responsibility to maintain the plugin for you. See here the new version

Changelog

1.0.7 (2019-01-14)

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

Added
  • Redmine 4.0.x support.
Changed
  • README.
  • Refactor code.
Fixed
  • Tests.
Removed
  • hound.yml

1.0.6 (2017-08-07)

Compatible with Redmine 3.4.x, 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.6.x, 2.5.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 Dutch SpiritIT 8 months ago

Great and simple plugin.
But is it true that the following code results with the sum of all hours instead of only the hours of the current ticket? Am I doing something wrong?

TimeEntry.sum(:hours, :conditions => {:issue_id => self.id})

  by Виктор Воеводский over 1 year ago

  by Julian Morales over 2 years ago

  by Oleg Ivanenko over 3 years ago

Very useful

  by Bruno Spyckerelle over 3 years ago

Really usefull !

  by Eva Encabo almost 4 years ago

excellent plugin

  by Alex Zuev almost 4 years ago

  by Rajesh Kotian over 4 years 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 almost 5 years ago

  by Maxim Krušina almost 5 years ago

  by Stanislav Solntsev over 5 years ago

  by Alex Alex over 5 years ago

  by Igor Blitz over 5 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 over 5 years ago

Excellent. This enhances redmine usefullness

  by Didier Head over 5 years ago

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

  by Adriano Ceccarelli almost 6 years ago

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

  by Pierre Maigne almost 6 years ago

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

  by Luis Blasco about 6 years ago

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