...
- Drag the task to the new sprint within the Gantt chart, or
- Update the Sprint in the Task Details panel
When dragging a task, only sprints that belong to the same board as the issue will be suggested. In the Task Details panel, you can select from any sprint available to the current user.
...