Project

General

Profile

Actions

Defect #29158

open

API don't shows value label of a costum field

Added by Konrad Kreitmair over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

General informations

Ruby version: 2.1.5-p273
Rails version: 4.2.8
Redmine version: 3.4.4.stable.17183

Informations about the specification of the custom field

Format: Key/value list
Multiple values: True
Display: checkboxes
Required: no
Used as a filter: no
Visible: to any users
Trackers: Patch
Projects: a subproject

The Problem

In the response of an API call for an issue (<url>/1234.xml) with an custom field specified, i find a custom field element like this:

<custom_field id="1" name="applied-to" multiple="true">
  <value type="array">
    <value>1</value>
    <value>2</value>
    <value>3</value>
  </value>
</custom_field>

So the problem is, that i get back the values of the custom field, but not the labels for this values.

When i visit the webpage for this issue, the labels of the values are displayed, so it is no permission issue.

Actions #1

Updated by Go MAEDA over 5 years ago

  • Category set to REST API
Actions

Also available in: Atom PDF