Project

General

Profile

Actions

Defect #8641

closed

Subissues is not created by REST API

Added by Nicolay Punin over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
2011-06-17
Due date:
% Done:

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Subissues is not created by REST API

POST query:

<issue>
<subject>TEST PARENT ISSUE</subject>
<project_id>15304</project_id>
<parent_id>132725</parent_id>
<tracker_id>16</tracker_id>
<status_id>1</status_id>
</issue>

Redmine REST API returns this result:

HTTP/1.1 201 Created
Location: http://localhost:3000/issues/132852
Connection: Keep-Alive
Content-Type: application/xml; charset=utf-8
Date: Fri, 17 Jun 2011 10:21:05 GMT
Server: WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)
X-Runtime: 215
Content-Length: 734
Cache-Control: no-cache
Set-Cookie: _redmine_session=SOME_CODE; path=/; HttpOnly


<issue>
<id>132852</id>
<project name="test.ru" id="15304"/>
<tracker name="some_tracker" id="16"/>
<status name="new" id="1"/>
<priority name="some priority" id="4"/>
<author name="ME" id="792"/>
<subject>TEST PARENT ISSUE</subject>
<description></description>
<start_date>2011-06-17</start_date>
<due_date></due_date>
<done_ratio>0</done_ratio>
<estimated_hours></estimated_hours>
<spent_hours>0.0</spent_hours>
<created_on>2011-06-17T14:21:05+04:00</created_on>
<updated_on>2011-06-17T14:21:05+04:00</updated_on>
</issue>

The issue was created, but it is not a subissue.

Problem was tested on 1.1/1.2 redmine stable versions.

Actions

Also available in: Atom PDF