Skip to content

Can't choose subgroup while forking project

Summary

I tried to fork a project in a subgroup. It didn't asked me on which group/subgroup to place the fork, instead it placed it on the root group.

Steps to reproduce

  1. Create a group
  2. Inside that group, create a subgroup
  3. Inside that subgroup, create a project
  4. Do some changes, commit, push
  5. Fork the project
  6. The new project is created in a root group, no subgroup option given, or creating it on the same subgroup

Example Project

What is the current bug behavior?

When forking project, it asks you to choose a group to place it, only one level.

What is the expected correct behavior?

You should be able to place it inside subgroups, preferably on the same subgroup.

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes