Retrieve custom fields from plugin

Added by Aniss El Amrani over 1 year ago

Hi all,

I'm trying to implement a new redmine plugin using custom fields but I'm not able to retrieve a custom field (List) defined in Redmine from the HTML page.
I have tried "issue.custom_field_values" but it is not working.

Do you have any idea how can get a custom field values by name or id ?

Thanks for help.

Regards,

Aniss

Replies (1)

RE: Retrieve custom fields from plugin - Added by Haihan Ji about 1 year ago

issue.custom_value_for(custom_field_id)
issue.custom_field_value(custom_field_id)

(1-1/1)