Filtering by group milestones in Roadmap settings doesn't remove sub-group milestones
Summary
In the Roadmap settings (right panel of the Epics Roadmap view), when you select the filter Show group milestones
it filters out only the project milestones and not the subgroup milestones.
We expect to see all child milestones removed and only see the group milestones.
This is not consistent as it is filtering out only one part of the child milestones ( the project milestones ) and not all of them (the project and subgroup milestones).
The others filters (Show sub-group milestones
and Show project milestones
) seem to behave as expected.
Steps to reproduce
- Have at least one group which contains one subgroup and one project.
- At group level, create one milestone (Issues > Milestones > New Milestone) with a start date and due date.
- At sub-group level, create one milestone (Issues > Milestones > New Milestone) with a start date and due date.
- At project level, create one milestone (Issues > Milestones > New Milestone) with a start date and due date. You should now have at least 3 milestones (one at every hierarchy level).
- At sub-group level, create at least an epic to display data in the Roadmap view.
- At sub-group level, go to Epics > Roadmap > click on Settings to open the Roadmap settings in the right panel.
- In the Roadmap settings, use the filter Show group milestones, it returns group and sub-group milestones instead of only group milestones.
Note the others filters are working properly:
What is the current bug behavior?
Filtering by group milestones in Roadmap settings doesn't remove sub-group milestones and show both group and sub-group milestones.
What is the expected correct behavior?
Filtering by group milestones in Roadmap settings should remove sub-group milestones and only show group milestones.
Output of checks
This bug happens on GitLab.com