-
Suggestion
-
Resolution: Unresolved
-
None
-
0
-
3
-
Summary
Currently, when a user selects the "Only show sprints in this project" option, they are expected to view only the sprints created in the current project. However, due to the feature's current logic, it is possible that the project sprints do not show up.
Scenario
- Consider 2 projects named "Project A" and "Project B".
- Within Project A, we have board "Board A" and sprint "Sprint A".
- "Board A" has the below JQL:
component = TEST AND (project = "Project B" OR project != "Project B") ORDER BY Rank ASC
- When the JQL search is run, all issues from both projects are visible.
- Now navigate to a "Project A" issue and try to update the sprint. When clicking on the "Sprint" field, enable the option "Only show sprints in this project"
Expected Result
Since "Sprint A" is created within "Project A", only "Sprint A" should be suggested in the Sprint field.
Actual Result
When the "Only show sprints in this project" option is selected, "Project A" sprints are not shown in the sprint field.
Cause
The sprint picker logic assumes that "Board A" only shows "Project B" issues going by the filter JQL. It doesn't use the component field (as per our example) to find more projects.
Therefore:
- When asking for sprints in "Project B", it will return sprints from "Board B"
- When asking for sprints in the "Project A", it will not return sprints from "Board A"
Workaround
Modify the board filter query to explicitly include "Project A" in the JQL query:
component = TEST AND (project = "Project B" OR project != "Project B" OR project = "Project A") ORDER BY Rank ASC