Project

General

Profile

Actions

Defect #18695

closed

Issue with multiple attachments through JSON REST API

Added by Vitaly Grin over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hi,
I've tried to use REST API for creating issues but found that there no way to post multiple attachments via JSON - it works for single attachment only!
When I post an "upload" JSON data as array (with brackets '[]') under "uploads" node, redmine API successfully creates an issue but without attachments - it simple ignores it. It works only if I put a single attachment straight under "uploads" section, without using an array format ('[]').


Related issues

Related to Redmine - Defect #12491: JSON api for attaching uploads only works with a single token id, not an array.Closed

Actions
Actions

Also available in: Atom PDF