src/main/java/org/gitlab4j/api/MergeRequestApi.java
public MergeRequest createMergeRequest(Integer projectId, String sourceBranch, String targetBranch, String title, String description, Integer assigneeId,
                                           Integer targetProjectId, String[] labels, Integer milestoneId, Boolean removeSourceBranch)
            throws GitLabApiException {
       return createMergeRequest(projectId, sourceBranch, targetBranch, title, description, assigneeId, targetProjectId, labels, milestoneId, removeSourceBranch, null);
    }
/**
     * Creates a merge request and optionally assigns a reviewer to it.
     *
     * POST /projects/:id/merge_requests
     *
     * @param projectId the ID of a project, required
     * @param sourceBranch the source branch, required
     * @param targetBranch the target branch, required
     * @param title the title for the merge request, required
     * @param description the description of the merge request
     * @param assigneeId the Assignee user ID, optional
     * @param targetProjectId the ID of a target project, optional
     * @param labels labels for MR, optional
     * @param milestoneId the ID of a milestone, optional
     * @param removeSourceBranch Flag indicating if a merge request should remove the source branch when merging, optional
     * @return the created MergeRequest instance
     * @throws GitLabApiException if any exception occurs
     */
Creates a merge request and optionally assigns a reviewer to it.


Creates a merge request and optionally assigns a reviewer to it .
public MergeRequest createMergeRequest(Integer projectId, String sourceBranch, String targetBranch, String title, String description, Integer assigneeId,
                                           Integer targetProjectId, String[] labels, Integer milestoneId, Boolean removeSourceBranch)
            throws GitLabApiException {
       return createMergeRequest(projectId, sourceBranch, targetBranch, title, description, assigneeId, targetProjectId, labels, milestoneId, removeSourceBranch, null);
    }
public MergeRequest createMergeRequest ( Integer projectId , String sourceBranch , String targetBranch , String title , String description , Integer assigneeId , Integer targetProjectId , String [ ] labels , Integer milestoneId , Boolean removeSourceBranch ) throws GitLabApiException { return createMergeRequest ( projectId , sourceBranch , targetBranch , title , description , assigneeId , targetProjectId , labels , milestoneId , removeSourceBranch , null ) ; }
Creates a merge request and optionally assigns a reviewer to it.
Creates a merge request and optionally assigns a reviewer to it .