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.
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.
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: https://jira.atlassian.com/browse/JRA-38026
I am marking your comment as an asnwer.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG