REST API to move issues from one project to another

Added by Balaji Murugesan almost 3 years ago

Hi,
I am working on Redmine REST API to achieve issues to be moved between projects. Update of the issue is happening except the project.

URL : http://xx.x.x.xxx/redmine/issues/14725.xml?key=ABCD
Payload : <issue><project_id>xxxx</project_id><priority_id>3</priority_id><status_id>3</status_id><subject>Subject</subject><tracker_id>29</tracker_id><description>Description</description><assigned_to_id>227</assigned_to_id><custom_fields type="array"><custom_field name="Ticket Number" id="27"><value>WO0000001xxxx</value></custom_field></custom_fields><tracker><id>12</id></tracker></issue>

Can someone guide me on how to achieve this.

Environment:
Redmine version 2.3.0.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
redmine_contacts 3.2.0-light
redmine_dmsf 1.4.5 stable
redmine_impasse 1.2.2
redmine_scrumbler 1.5.0
redmine_timesheet_plugin 0.7.0
redmine_wktime 1.5