@@ -726,6 +726,45 @@ public GitlabProject createProject(String name) throws IOException {
726726 return createProject (name , null , null , null , null , null , null , null , null , null , null );
727727 }
728728
729+ /**
730+ * Creates a group Project
731+ *
732+ * @param name The name of the project
733+ * @param group The group for which the project should be crated
734+ * @return The GitLab Project
735+ * @throws IOException on gitlab api call error
736+ */
737+ public GitlabProject createProjectForGroup (String name , GitlabGroup group ) throws IOException {
738+ return createProjectForGroup (name , group , null );
739+ }
740+
741+ /**
742+ * Creates a group Project
743+ *
744+ * @param name The name of the project
745+ * @param group The group for which the project should be crated
746+ * @param description The project description
747+ * @return The GitLab Project
748+ * @throws IOException on gitlab api call error
749+ */
750+ public GitlabProject createProjectForGroup (String name , GitlabGroup group , String description ) throws IOException {
751+ return createProjectForGroup (name , group , description , null );
752+ }
753+
754+ /**
755+ * Creates a group Project
756+ *
757+ * @param name The name of the project
758+ * @param group The group for which the project should be crated
759+ * @param description The project description
760+ * @param visibilityLevel The project visibility level (private: 0, internal: 10, public: 20)
761+ * @return The GitLab Project
762+ * @throws IOException on gitlab api call error
763+ */
764+ public GitlabProject createProjectForGroup (String name , GitlabGroup group , String description , Integer visibilityLevel ) throws IOException {
765+ return createProject (name , group .getId (), description , null , null , null , null , null , null , visibilityLevel , null );
766+ }
767+
729768 /**
730769 * Creates a Project
731770 *
0 commit comments