Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How move issue to another project via REST API

Dmitry Tumash February 3, 2013

How must look JSON request to change issue project?

I tryed next:

https://XXX.YYY.net/rest/api/2/issue/AAA-1/

  • { "update" : { "project" : [{"move" : {"key" : "OD"}}] } }

I getting this error:

"project": "Field 'project' cannot be set. It is not on the appropriate screen, or unknown."

  • {"fields":{"project":{"key":"OD"}}}

I getting 204 code but issue do not moved

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2013

You can't move issues to another project using REST. Some cases might be straight forward but there can be far worse situation that needs user intervention (like mapping fields) and so this is difficult to achieve in a single call.

Dmitry Tumash February 3, 2013

If I understood you right. I can not do action using REST that do web version?

Dmitry Tumash February 3, 2013

Thanks you!

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2013

Not for Move.

0 votes
Michal Husar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2013

Hi peng,

it's still the same in the latest API. You can not move Issue to another Project.

I make it my own way. I delete old Issue and create new Issue to new Project, but you have to post(create) Attachments and comments as well and that is horrible work..

0 votes
peng xu April 17, 2013

The latest rest api what can achieve?

TAGS
AUG Leaders

Atlassian Community Events