Actions
Defect #18475
closedREST XML API is unable to create a new issue with multiple attachments
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I can upload multiple files just fine,
XML serialization is no problem when using an array of size 1, issue gets oploaded correctly with attachment added.
When serializing a bigger array ( eg 2 attachments ) when uploading a new issue there are no issues visible once uploaded.
Updated by Jean-Philippe Lang over 9 years ago
- Status changed from New to Closed
- Resolution set to Invalid
You need to use type="array" attribute for arrays. See the test for this:
source:/trunk/test/integration/api_test/issues_test.rb@13793#L575
Actions