Project

General

Profile

Create multiple issues with REST API

Added by Cyril BARBERET almost 7 years ago

Hello,

I'm trying to create 2 (or more) issues using REST API and POST request, but I can't find the right XML syntax.

I use SOAPUI 5.3 to send requests to redmine.

The example, I tried :

<issue>
   <project_id>79</project_id>
   <tracker_id>1</tracker_id>
   <subject>Example 1 </subject>
   <description>Example 1 </description>
</issue>
<issue>
   <project_id>79</project_id>
   <tracker_id>1</tracker_id>
   <subject>Example 2</subject>
   <description>Example 2 </description>
</issue>

It gave me a "Redmine 500 error", but It works with a single <issue></issue>.

Any idea ?
Thank you for your help !

Environment:
  Redmine version                2.6.3.stable
  Ruby version                   2.0.0-p643 (2015-02-25) [x86_64-linux]
  Rails version                  3.2.21
  Environment                    production
  Database adapter               PostgreSQL

Replies (1)

RE: Create multiple issues with REST API - Added by Mischa The Evil almost 7 years ago

AFAIK does Redmine not support creating multiple issues within a single API request. See #9618.

    (1-1/1)