0

My namespace structure is something like https://gitlab.com/ES/BSK/Projectx I'm trying to create a project under the BSK subgroup like projectx.

Each time I try to create a project using the attribute "namespace_id" : "group_id" it ends creating the project in my user space and not in the group's space. It creates username/project instead of ES/BSK/project.

I use the Following commands:

group_id = gl.groups.list(search='group_name')[0].id

project_created = gl.projects.create({'name': 'UDS', 'namedspace_id': group_id})

OR

project_created = gl.projects.create({'name': 'UDS', 'namedspace_id': 78})

where 78 is the id for the group

0 Answers0