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 Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

183 views 0 5
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