[12.7.6-ee] Adding a group label via subgroup's epic results in 404
When trying to create a group label via an epic in a subgroup results in 404:
How to reproduce:
- Create a group:
foo
- Create a subgroup:
bar
- Go to Epics -> New epic -> Type in
quux
-> Create new epic (Your current url should be https://gitlab.example.com/groups/foo/bar/-/epics/1) - In the right panel under the
Labels
section clickEdit
-> From the drop down menu chooseCreate group label
-> Fill in the fields (label name and color) -> PressCreate
Resulting response (from the AJAX request):
404
error page.