Skip to content

Fix label creation from issuable for subgroup projects

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?

What are the relevant issue numbers?

Closes #30667 (closed)

Merge request reports