public Note createMergeRequestNote ( Object projectIdOrPath , Integer mergeRequestIid , String body ) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm ( ) . withParam ( "body" , body , true ) ; Response response = post ( Response . Status . CREATED , formData , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "merge_requests" , mergeRequestIid , "notes" ) ; return ( response . readEntity ( Note . class ) ) ; }
Create a merge request s note .