Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to remove an issue from sprint using API?


I've tried four ways to remove an issue from a sprint and none of them will do it. They all return an empty response (which the documentation indicates is "success"). But the issue remains in the sprint. What is the correct way to do it?

1. com.atlassian.jira:jira-rest-java-client-app:5.2.2

final IssueInput request = new IssueInputBuilder()
.setFieldValue(FIELD_SPRINT, null)

final IssueRestClient issues = client.getIssueClient();
issues.updateIssue(issue.getKey(), request).claim();

2. PUT directly to the REST endpoint


"fields": {
"customfield_471": null

3. POST directly to another endpoint I found mentioned elsewhere


"issues": [

4. PUT directly to yet another endpoint I found mentioned elsewhere


"idOrKeys": [
"customFieldId": "customfield_471",
"addToBacklog": "true"


1 answer

@Mike Daniels 

Are you working with issues in a Company Managed project or a Team Managed project?

This one is Company Managed.

Can you confirm that the identity used to run the API can successfully remove an issue from a sprint via the UI?

Looking at what you specified for the third method you tried (agile API 1.0) I notice that you are missing the closing double-quote between issues and the following colon. Is that a paste error here in your post, or is that an error in the code you are actually using?

Sorry, the missing double-quote was an error in this post (I've corrected it). In the actual code we use an ObjectMapper to serialize / deserialize JSON.

The identity used by the API should be able to remove an issue from a sprint in the UI, it is an admin. But I will verify that! Thanks.

Ok, just tested that. In the UI, I was able to add / remove an issue from the sprint while logged in as the identity used by the API.

@Trudy Claspill any other ideas? I appreciate the help / suggestions!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

163 views 1 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you