Issue Summary
This is reproducible on Data Center: yes
Steps to Reproduce
- Create sprint with story that contains some subtasks.
- Set subtasks status to other then DONE and story to DONE.
- Try to complete sprint through UI.
Result: Sprint cannot be completed as there are incomplete subtasks on the following issues... - Try to complete sprint through API call.
curl --request PUT \ --url 'http://{JIRA_INSTANCE}/jira/rest/agile/1.0/sprint/{SPRINT_ID}' \ --user 'user:password' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{"incompleteIssuesDestinationId":null, "state":"closed", "name":"Test", "startDate":"2024-11-25T19:00:00.000-04:00", "endDate":"2024-11-28T19:00:00.000-04:00"}
Expected Results
Sprint is not closed due to incomplete subtasks - same behaviour as from UI.
Actual Results
Sprint is completed without error.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is related to
-
JSWSERVER-26129 "incompleteIssuesDestinationId" parameter in the "/rest/agile/1.0/sprint/" endpoint is not working on recent Jira versions
-
- Closed
-