Project

General

Profile

How to create new journal entries via REST API in Redmine 3.0.0 ?

Added by Tim Taler over 9 years ago

Hi,

The following REST request worked fine in Redmine 2.6.x:

---------------------
PUT /issues/5558.xml HTTP/1.1
Content-Length: 91
Content-Type: text/xml; charset=UTF-8
Host: redmine.server.com:80
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic httpbasicpassword.....==

<issue><id>5558</id><notes>test comment,please ignore</notes></issue>
---------------------

Since upgrading to Redmine 3.0.0 the server just responds with a HTTP 200 but no new journal entry is committed to the database.

Thanks,
Tim