Changing parent of a subtask is not updating the sprint value of the subtask. If the parent of a subtask is changed from an issue in an active sprint to an issue in backlog or future sprint, the active sprint does not get completed and throws "something went wrong" error.
- Start a sprint
- Add a subtask to one of the issues in the current sprint
- Use the "Move" option for the subtask to move the issue under another issue in the backlog or future sprint.
- Change the status of all the issues in the current sprint to "Done"
- Try to complete the sprint.
The sprint gets completed.
The UI throws the error "Something's gone wrong" error
The below error is thrown in the console.
Temporarily move the subtask to a parent issue type and then finalise the sprint. Also, please use the "Change parent" option in the meanwhile to move the subtask as then this bug will not occur.
A bulk operation can be executed to the affected Sub-Tasks in this state and update the Sprint field to its respective Sprint based on the parent.