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)
.build();
final IssueRestClient issues = client.getIssueClient();
issues.updateIssue(issue.getKey(), request).claim();
2. PUT directly to the REST endpoint
/rest/api/2/issue/{issueKey}
body:
{
"fields": {
"customfield_471": null
}
}3. POST directly to another endpoint I found mentioned elsewhere
/rest/agile/1.0/backlog/issue
body:
{
"issues": [
"PRJ-27"
]
}
4. PUT directly to yet another endpoint I found mentioned elsewhere
/rest/greenhopper/1.0/sprint/rank
body:
{
"idOrKeys": [
"PRJ-27"
],
"customFieldId": "customfield_471",
"addToBacklog": "true"
}