Remove issue from a sprint via REST APIs

I have Google and found a way to add an issue to any existing Sprint (completed, open, or future) via REST APIs.

While the JIRA Agile REST APIs are available in the JIRA REST API browser, I can't seem to find documentation for the same APIs. I have been wanting to know how to remove an issue from a sprint via the REST API and have been so far unable to find a way to achieve that.

Any suggestion or pointer is appreciated. Thank you in advance.

1 answer

1 accepted

You can remove it by sending a PUT request to /rest/greenhopper/1.0/sprint/rank

with the following (sample) data


The way I found that was by just opening the "Network" tab of my Chrome browser developer console and looking at the XHR request generated when I remove issue from sprint

Note that the JIRA Agile REST API is not public, so this might break across versions.

Hi Boris,

I know this endpoint being the way to 'add' the issue to a sprint.

To remove the issue from a sprint does the sprintId need to be blank?

No, I think the request for add and remove is exacly the same except the addToBacklog parameter

Hi Boris,

I figure it out. To remove from a sprint the sprintid needs to be omitted and addToBacklog needs to be set to true.

This worked but does not solve my original problem unfortunately:

I am marking your comment as an asnwer.

Thank you!

I've tried this only on future sprint, so probably the parameters depend on the status of the spint - if it's not started you should provide an id , if started you do not need to provide id and if closed - you already reported the problem

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,815 views 11 18
Join discussion

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