Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create project from template requires wrong parameter #1111

Open
simonstumpf opened this issue Apr 8, 2024 · 0 comments
Open

create project from template requires wrong parameter #1111

simonstumpf opened this issue Apr 8, 2024 · 0 comments

Comments

@simonstumpf
Copy link

Hi All,
I noticed when creating a project with the createProjectFromTemplate method, it required the groupWithProjectTemplatesId.
However when having a look into the gitlab docs, group_with_project_templates_id should only be used for group level templates.

For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. Leave empty for instance-level templates. Requires use_custom_template to be true.

Hence the creation of a project from an instance template is not possible and the api call is too restrictive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant