gitlab4j / gitlab4j-api

GitLab4J API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories via the GitLab REST API
MIT License
1.07k stars 463 forks source link

The createProject method does not effectively pass the autoDevopsEnabled parameter. #1158

Open Papilionidae opened 2 months ago

Papilionidae commented 2 months ago

Issue Description

When calling the createProject method, the auto_devops_enabled parameter is not being passed effectively. As a result, the auto_devops_enabled setting cannot be set to false in the newly created projects as expected.

Steps to Reproduce

  1. Call the createProject method with the auto_devops_enabled parameter set to false.
  2. Verify the newly created project settings in GitLab.

Expected Behavior

The auto_devops_enabled setting should be false in the newly created project.

Actual Behavior

The auto_devops_enabled setting remains true in the newly created project.

Environment

Here is the method signature that I am using:


org.gitlab4j.api.models.Project createProject(org.gitlab4j.api.models.Project project, String path);