Issue Summary
Sprints can show up on multiple boards and that's expected.
When only the subtaks of a sprint match another board's filter, though, that sprint doesn't show up in the UI, but shows in the API endpoint /rest/agile/1.0/board/{boardId}/sprint
Steps to Reproduce
- Create two boards with mutually exclusive filters. For example, one filters the Fix Version 2.0 and the other, 3.0
- Create a sprint "2.0 Sprint 1"
- Add a Story with a subtask to it
- Change the subtask version to 3.0
- Check the board for version 3.0
- Run the REST API call to board to version 3.0
Expected Results
The REST API sprints are consistent with the UI.
Actual Results
The REST API shows "2.0 Sprint 1", but the UI doesn't.
Workaround
Search for the subtasks in the sprint and make the appropriate changes so they don't show up in the other board.
This could involve either editing the subtasks or the board filter.
This issue is also happening when issue is in Epic, not only subtask as suggested by the description.
Possible (though not very user friendly) workaround is that loading the sprints via REST API for the user will make the missing sprints again visible.
This is one quite significant for us - our teams share same sprint, however they have each separate board + some general board for all teams.