Moving issue to current sprint via REST API

I am trying to use the Greenhopper REST API to move an issue from the product backlog into the current sprint. I am using:

/rest/greenhopper/latest/sprint/{sprintId}/issues/add; (the specific SprintId in this case is 5, so I am using "/rest/greenhopper/latest/sprint/5/issues/add" on my server)

I am doing an HTTPS PUT, and using the following content:


where "SABO-232" is the issue key.

I get a response of 204 with no content, however the issue does not get moved. I am using the API in other areas retrieving data and it works fine. And if I malform the data, I get a server error. It is accepting my data and doing nothing.

Any help?

1 answer

I got the format for the content from a precious question:

but it does not seem to work.

Also, I am doing this in perl and can supply a code snippet if desired.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

366 views 6 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot