Fix label creation from issuable for subgroup projects
requested to merge markglenfletcher1/gitlab-ce:30667-creating-new-label-on-new-issue-causing-bug into master
What does this MR do?
Fix label creation from issuable for subgroup projects
The XHR request to create a new label from the issuable views would result in a 404 due to the full namespace path not being considered for projects within a subgroup.
Are there points in the code the reviewer needs to double check?
Should new specs be added? I couldn't find an appropriate place for a subgroup only spec here. The top level namespace specs still pass but if the regression was reintroduced we wouldn't notice without a new test.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #30667 (closed)