Project

General

Profile

Plugins Directory » Custom Field Inheritance

Author: Jorge Rodriguez
Website: https://github.com/Arksoft-Solutions/redmine_cf_inheritance
Code repository: https://github.com/Arksoft-Solutions/redmine_cf_inheritance
Registered on: 2026-04-25 (about 11 hours ago)
Current version: 1.0.0
Compatible with: Redmine 7.0.x, 6.1.x, 6.0.x
User ratings:   (0)

Plugin that auto-populates custom field values down configurable inheritance chains.

When a TimeEntry, Issue, or sub-issue is saved without a value for a configured field, the plugin walks up the chain (Issue → parent Issue → Project) and copies the first non-blank value it finds.

Features

  • Hierarchical inheritance chains across TimeEntry, Issue, and Project
  • Multi-target chains: same field can have different chains per target class (e.g. TimeEntry → Issue → Project and Issue → parent Issue → Project simultaneously)
  • Two-layer config: YAML defaults + admin UI overrides, merged on (field_name, target_class)
  • Respects user input by default; configurable overwrite per chain
  • Failsafe error handling — never aborts the underlying save
  • 87 unit tests passing

Use cases

  • Time entries inherit a "Cost Center" or "Profile" field from their issue automatically
  • Subtasks inherit fields from their parent issue
  • Cascade fallback to the project when neither the issue nor its ancestors have a value

Compatibility

Redmine 6.0+, Ruby 3.2+, Rails 7.2 with Zeitwerk autoloader.

See the README for installation, configuration, and migration instructions from redmine_perfil_autocomplete.

Installation notes

1. Clone the plugin into your Redmine plugins directory:

cd /path/to/redmine/plugins
git clone https://github.com/Arksoft-Solutions/redmine_cf_inheritance.git
chown -R redmine:redmine redmine_cf_inheritance

2. Refresh the Redmine plugin registry (the plugin has no migrations of its own, but this is idempotent):

cd /path/to/redmine
sudo -u redmine bundle exec rake redmine:plugins:migrate RAILS_ENV=production

3. Restart your Redmine server (Puma, Passenger, etc.):

sudo systemctl restart redmine

4. Configure inheritance chains under Administration → Plugins → Custom Field Inheritance → Configure.

For configuration examples and detailed documentation, see the README.

Changelog

1.0.0 (2026-04-25)

Compatible with Redmine 7.0.x, 6.1.x, 6.0.x.

redmine_cf_inheritance-1.0.0.zip (48.8 KB) redmine_cf_inheritance-1.0.0.zip Jorge Rodriguez, 2026-04-25 17:21