Error fetching labels on Epics Roadmap
Summary
Getting an error message "There was a problem fetching labels." when trying to filter epics by label on Epics Roadmap on a subgroup.
Steps to reproduce
On GitLab Enterprise Edition 13.11.5-ee :
- Create a new group foo
- Create a new subgroup foo/bar
- Go to the Epics Roadmap page of group foo/bar (foo/bar/-/roadmap)
- In the filter bar of the Epics Roadmap, select
Label
Example Project
As the error is occuring on a feature (Epics Roadmap) which is only available in a premium subscription, I'm not able to share a test project on gitlab.com.
What is the current bug behavior?
After following the steps described above, an error banner with message "There was a problem fetching labels." is displayed.
What is the expected correct behavior?
Display the labels available on the current group.
Relevant logs and/or screenshots
Request details:
Request URL: https://[my-private-gitlab-instance]/api/v4/groups/foo/bar/labels?only_group_labels=true&include_ancestor_groups=true&include_descendant_groups=true
Request Method: GET
Status Code: 404
Possible fixes
NAMESPACE/PROJECT_PATH must be URL-encoded in the request as described in GitLab doc.
