Project

General

Profile

Plugins Directory » Redmine Custom tables

Author: Ivan Marangoz
Website: https://redmineplus.com/custom-tables/
Code repository: https://redmineplus.com/custom-tables/
Registered on: 2019-08-18 (almost 6 years ago)
Current version: 1.1.0
Compatible with: Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x
User ratings:   (13)

This plugin enables you to create custom tables using Redmine custom fields. It allows you to build any type of database tailored to your business needs and integrate it seamlessly into your workflow. Try demo: https://redmineplus.com/sign-up-to-redmine-plus/

Features
  • Table constructor
  • Filtering
  • Sorting
  • Grouping
  • Integration with issues
  • History of changes
  • Commenting entities
  • Export CSV/PDF
  • API
Usage
  1. Visit Administration->Custom tables to open table constructor.
  2. Press button New table. Fill the name field, select projects you want to enable table on and submit the form.
  3. Add custom fields to your new table.
  4. Give access to the user's Administration -> Roles and permissions -> Project -> Manage custom tables

API
Make sure the External Name field is filled out in Custom fields.

Custom field external names then become keys in the JSON object

examples:

Make sure you change example variables to real values: CUSTOM-TABLE-ID, REDMINE-API-KEY, CUSTOM-ENTITY-ID, ISSUE-ID.

[GET INDEX]- List all objects from the table:

curl -X GET -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY"  "https://redmine-app.com/custom_tables/CUSTOM-TABLE-ID.json" 

[GET INDEX]- List all objects from the table related to the issue:

curl -X GET -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY"  -d '{"issue_id": "=ISSUE-ID"}' "https://redmine-app.com/custom_tables/CUSTOM-TABLE-ID.json" 

[GET OBJECT] - Get the object information:

curl -X GET -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY"  "https://redmine-app.com/custom_entities/CUSTOM-ENTITY-ID.json" 

[POST CREATE] - Add object to the table with issue

curl -X POST -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY" -d '{"custom_entity": {"custom_table_id":CUSTOM-TABLE-ID, "issue_id":ISSUE-ID, "external_values":{JSON-PARMETERS}}}' "https://redmine-app.com/custom_entities.json" 

[POST CREATE] - Add object to the table without issue

curl -X POST -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY" -d '{"custom_entity": {"custom_table_id":CUSTOM-TABLE-ID, "external_values":{JSON-PARMETERS}}}' "https://redmine-app.com/custom_entities.json" 

[PUT UPDATE] - Update object

curl -X PUT -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY" -d '{"custom_entity": {"external_values":{JSON-PARMETERS}}}' "https://redmine-app.com/custom_entities/CUSTOM-ENTITY-ID.json" 

[DELETE] - Remove object from the table

curl -X DELETE -H "Content-Type: application/json" -H "X-Redmine-API-Key: REDMINE-API-KEY"  "https://redmine-app.com/custom_entities/CUSTOM-ENTITY-ID.json" 

Installation notes

  • Unarchive plugin to folder redmine/plugins
  • run bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Changelog

1.1.0 (2025-06-06)

Compatible with Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x.

  • REDMINE 6 custom_tables plugin upgrade by @frywer in #50
  • In Redmine 6, ActiveRecord::Base was replaced with ApplicationRecord, which is essential for ensuring plugin compatibility with the latest Redmine versions. Additionally, Redmine 6 introduces a new set of icons that may affect UI elements.
  • This update also includes a fix for the user custom field dropdown, resolving issues with not showing users list in the dropdown
  • That fix is compatible with Redmine 5 and Redmine 6
  • add custom tables to the issue pdf export
Group 3.png (360 KB) Group 3.png Ivan Marangoz, 2025-06-06 16:00

1.0.6 (2020-05-18)

Compatible with Redmine 4.2.x, 4.1.x, 4.0.x, 3.4.x.

1.0.5 (2020-05-16)

Compatible with Redmine 5.0.x, 4.2.x, 4.1.x, 4.0.x.

  • New permission 'View custom tables' (read only permission)
  • API (GET/POST/PUT/DELETE) on custom tables

1.0.4 (2020-01-24)

Compatible with Redmine 5.0.x, 4.2.x, 4.1.x, 4.0.x.

  • Add user custom field
  • Fix dialog view

1.0.3 (2019-09-16)

Compatible with Redmine 4.2.x, 4.1.x, 4.0.x.

Fix problem with plugin installation (LoadError: cannot load such file -- rspec/core/rake_task)

1.0.2 (2019-08-22)

Compatible with Redmine 4.2.x, 4.1.x, 4.0.x.

  • Fixed visibility of date custom field in table

1.0.1 (2019-08-21)

Compatible with Redmine 5.0.x, 4.2.x, 4.1.x, 4.0.x, 3.4.x.

  • Custom table description
  • Setting trackers assign
  • Setting roles assign

1.0.0 (2019-08-18)

Compatible with Redmine 4.2.x, 4.1.x, 4.0.x.

User ratings

  by Adabla Adabla about 1 year ago

Great ,
helped me a must

  by Hiwe Sar almost 3 years ago

Ist OK, but good Work

Checkbox defect and doesnt work in Redmine 4.2

  by Dileep Kumar over 4 years ago

Failed to Load PDF Error coming while exporting to PDF?

  by Pavel Delamoure about 5 years ago

Not working on 3.4.2.stable. NoMethodError: undefined method '[]

  by Constantin Grosu about 5 years ago

  by Kamil AFACAN about 5 years ago

This plugin gives you flexibility. I Think the limit is your mind. Permissions and roles is not so clear (Not so important). Logs : There is no log for the records and the actions in this table.

  by Jaebok Oh about 5 years ago

Greate!!

  by Farrukh Mamadziyoev about 5 years ago

  by Alexander Alexander over 5 years ago

Super! Can you adapt the plugin to 3.4 redmine version ?

  by Marcello Sannai over 5 years ago

wonderful! it would be perfect if you could create the table directly from the new issue. when you open a new issue you can add fields to the table.
/projects/test/issues/new

  by Anand Ram almost 6 years ago

Great Plugin. But I am having issue with installing it for both 3.4 & 4.0..
rake aborted!
LoadError: cannot load such file -- rspec/core/rake_task
C:/Bitnami/redmine-4.0.4-3/apps/redmine/htdocs/plugins/custom_tables/lib/tasks/redmine.rake:1:in `requi

  by Sanjay Jain almost 6 years ago

Great work... It would be nice to allow some tables to be viewable by anonymous users. I wasn't seeing that as an option.

  by dominik ch almost 6 years ago

Great work :)
I think tables should behave like custom fields, now You can't assign table to tracker or status like custom field. Table sticks to everything in project
Also empty tables should be minimized, now they take way to much space :/