diff --git a/src/main/java/org/gitlab4j/api/ImportExportApi.java b/src/main/java/org/gitlab4j/api/ImportExportApi.java index 9246dbf09..86fe6ad9b 100644 --- a/src/main/java/org/gitlab4j/api/ImportExportApi.java +++ b/src/main/java/org/gitlab4j/api/ImportExportApi.java @@ -239,7 +239,8 @@ public ImportStatus startImport(Object namespaceIdOrPath, File exportFile, Strin .withParam("packages_enabled", overrideParams.getPackagesEnabled()) .withParam("build_git_strategy", overrideParams.getBuildGitStrategy()) .withParam("build_coverage_regex", overrideParams.getBuildCoverageRegex()) - .withParam("squash_option", overrideParams.getSquashOption()); + .withParam("squash_option", overrideParams.getSquashOption()) + .withParam("name", overrideParams.getName()); } Response response = upload(Response.Status.CREATED, "file", exportFile, null, formData, url); @@ -251,7 +252,7 @@ public ImportStatus startImport(Object namespaceIdOrPath, File exportFile, Strin * *
GitLab Endpoint: GET /projects/:id/import
*
- * @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
+ * @param projectIdOrPath the new (imported) project identifier in the form of an Long(ID), String(path), or Project instance
* @return an ImportStatus instance holding information on the import status
* @throws GitLabApiException if any exception occurs
*/