https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292016-05-06T21:14:24ZRedmineRedmine - Defect #22745: Rest API for Custom Fields does not return keys for key/value typeshttps://www.redmine.org/issues/22745?journal_id=707382016-05-06T21:14:24ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Target version</strong> set to <i>3.2.3</i></li></ul> Redmine - Defect #22745: Rest API for Custom Fields does not return keys for key/value typeshttps://www.redmine.org/issues/22745?journal_id=708112016-05-08T08:47:13ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> changed from <i>3.2.3</i> to <i>3.3.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Stephen Stuart wrote:</p>
<blockquote>
<p>I was going to just put the 'api.label label' line in without the if statement but it also takes effect for list types where label and value appear to be the same.</p>
</blockquote>
<p>I've added the label for all custom fields that have possible values<br />It's better to have the same behaviour no matter the custom field type, even if value and label are the same.<br />Thanks for pointing this out.</p> Redmine - Defect #22745: Rest API for Custom Fields does not return keys for key/value typeshttps://www.redmine.org/issues/22745?journal_id=787402017-05-22T18:40:49ZMaxim KruĊĦina
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/26017">Feature #26017</a>: Get also labels for key/value custom fields by API</i> added</li></ul>