Error updating enumeration custom field via rest api
Posted: 06 Jun 2018, 08:02
I'm trying to update an issue with an enumeration type custom filed and get the error:
When I updating other custom fields (not an enumaration, but usual text fields) it works fine.
How to update enumeration custom fileds values via rest api?
Sending data has that format:
MantisBT Version 2.13.0
Schema Version 209
Code: Select all
Response{protocol=http/1.1, code=400, message=Invalid value for custom field 'Субъект РФ', url=http://localhost/api/rest/issues/24579}
How to update enumeration custom fileds values via rest api?
Sending data has that format:
Code: Select all
\"custom_fields\":\n [\n {\n \"field\": {\n \"id\":\"30\"\n },{\n \"name\":\"Субъект РФ\"\n },\n\"value\": \"16 Республика Татарстан (Татарстан)\"\n }\n ]
Schema Version 209