
Create
Create a GitLab merge request.
Create a GitLab merge request.
Create a GitLab merge request.
Create a new merge request in a GitLab project. You need to provide a valid GitLab project ID and a personal access token with the necessary permissions.
type: "io.kestra.plugin.gitlab.mergerequests.Create"Examples
Create a merge request in a GitLab project using a project access token.
id: gitlab_merge_request
namespace: company.team
tasks:
- id: create_merge_request
type: io.kestra.plugin.gitlab.mergerequests.Create
url: https://gitlab.example.com
token: "{{ secret('GITLAB_TOKEN') }}"
projectId: "123"
title: "Feature: Add new functionality"
mergeRequestDescription: "This merge request adds new functionality to the project"
sourceBranch: "feat-testing"
targetBranch: "main"
Properties
projectId*Requiredstring
Project ID
GitLab project ID
sourceBranch*Requiredstring
Source branch
targetBranch*Requiredstring
Target branch
title*Requiredstring
Merge request title
token*Requiredstring
Personal Access Token
GitLab Personal Access Token
apiPathstring
/api/v4/projectsAPI Path
Custom API path for GitLab API endpoints
mergeRequestDescriptionstring
Merge request description
urlstring
https://gitlab.comGitLab URL
Outputs
mergeReqIDstring
Created merge request ID
statusCodeinteger
HTTP status code
webUrlstring
web URL