annikoff / redmine_plugin_computed_custom_field

Computed Custom Field for Redmine
https://www.redmine.org/plugins/computed_custom_field
MIT License
80 stars 51 forks source link

Possible to reference custom fields from other object types? #137

Closed JongleurX closed 5 years ago

JongleurX commented 6 years ago

First, thanks for this plug-in.

Is it possible to create a computed custom field for an issue that displays the value of a particular project's standard or custom field within the issue? The use case is making it possible for users to quickly view project-level settings when creating and viewing issues, without having to jump over to the project's Overview tab to see the project's field values.

annikoff commented 6 years ago

Hi. #124

dsgonzalezo commented 6 years ago

I've tried it but it only brings me 0 (zero)

project.try(:custom_field_value,153)

I have interpreted its use well?

Thanks a lot.

Diego

annikoff commented 6 years ago

What value and what type have custom field 153 in your project?

dsgonzalezo commented 6 years ago

Thanks for responding, it is a field of floating type, and the value it has is a relative number to each issue that is obtained after making a calculation.

annikoff commented 5 years ago

Is this issue still actual?

dsgonzalezo commented 5 years ago

Given the impossibility of solving this problem by plugin functionality, do it directly by DB.