Project

General

Profile

Actions

Defect #19368

closed

Creating an issue without tracker_id attribute ignores custom field values

Added by Alex Last over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

this is a regression in 3.0.0 from 2.6.x:

when creating new issues via REST API (specifically, I am using Redmine Java API library), I see
the standard JSon payload I used with Redmine 2.6.x is not accepted anymore:

{"issue": {"subject":"test for custom multi fields - set multiple values",
"project_id":369,
"start_date":null,
"custom_field_values":{"3":["V1","V3"]}
}
}

the server ignores values V1, V3 and assigns default V2 value to that multi-line custom field.

see test setMultiValuesForMultiLineCustomField() in
https://github.com/taskadapter/redmine-java-api/blob/master/src/test/java/com/taskadapter/redmineapi/IssueManagerTest.java

Actions

Also available in: Atom PDF