GitLab

Interact with GitLab projects, issues, merge requests, and pipelines

Configuration

List Projects

Operation
List Projects
Personal Access Token*
••••••••
Results Per Page
Number of results per page (default: 20, max: 100)
Page Number
Page number (default: 1)
List Projects (gitlab_list_projects)

List GitLab projects accessible to the authenticated user

Input
ParameterTypeRequiredDescription
ownedbooleanNoLimit to projects owned by the current user
membershipbooleanNoLimit to projects the current user is a member of
searchstringNoSearch projects by name
visibilitystringNoFilter by visibility (public, internal, private)
orderBystringNoOrder by field (id, name, path, created_at, updated_at, last_activity_at)
sortstringNoSort direction (asc, desc)
perPagenumberNoNumber of results per page (default 20, max 100)
pagenumberNoPage number for pagination
Output
ParameterTypeDescription
projectsarrayList of GitLab projects

Get Project

Operation
Get Project
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Get Project (gitlab_get_project)

Get details of a specific GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path (e.g., "namespace/project")
Output

Refer to the block outputs for this operation.


List Issues

Operation
List Issues
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Labels
Enter labels (comma-separated)
State
Select...
Results Per Page
Number of results per page (default: 20, max: 100)
Page Number
Page number (default: 1)
List Issues (gitlab_list_issues)

List issues in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
statestringNoFilter by state (opened, closed, all)
labelsstringNoComma-separated list of label names
assigneeIdnumberNoFilter by assignee user ID
milestoneTitlestringNoFilter by milestone title
searchstringNoSearch issues by title and description
orderBystringNoOrder by field (created_at, updated_at)
sortstringNoSort direction (asc, desc)
perPagenumberNoNumber of results per page (default 20, max 100)
pagenumberNoPage number for pagination
Output
ParameterTypeDescription
issuesarrayList of GitLab issues

Get Issue

Operation
Get Issue
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Issue Number*
Enter issue number (e.g., 1 for issue #1)
Get Issue (gitlab_get_issue)

Get details of a specific GitLab issue

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
issueIidnumberYesIssue number within the project (the # shown in GitLab UI)
Output

Refer to the block outputs for this operation.


Create Issue

Operation
Create Issue
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Title*
Enter title
Description
Enter description (Markdown supported)
Labels
Enter labels (comma-separated)
Assignee IDs
Enter assignee user IDs (comma-separated)
Milestone ID
Enter milestone ID
Create Issue (gitlab_create_issue)

Create a new issue in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
titlestringYesIssue title
descriptionstringNoIssue description (Markdown supported)
labelsstringNoComma-separated list of label names
assigneeIdsarrayNoArray of user IDs to assign
milestoneIdnumberNoMilestone ID to assign
dueDatestringNoDue date in YYYY-MM-DD format
confidentialbooleanNoWhether the issue is confidential
Output

Refer to the block outputs for this operation.


Update Issue

Operation
Update Issue
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Issue Number*
Enter issue number (e.g., 1 for issue #1)
Description
Enter description (Markdown supported)
Labels
Enter labels (comma-separated)
Assignee IDs
Enter assignee user IDs (comma-separated)
Milestone ID
Enter milestone ID
State Event
Select...
Update Issue (gitlab_update_issue)

Update an existing issue in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
issueIidnumberYesIssue internal ID (IID)
titlestringNoNew issue title
descriptionstringNoNew issue description (Markdown supported)
stateEventstringNoState event (close or reopen)
labelsstringNoComma-separated list of label names
assigneeIdsarrayNoArray of user IDs to assign
milestoneIdnumberNoMilestone ID to assign
dueDatestringNoDue date in YYYY-MM-DD format
confidentialbooleanNoWhether the issue is confidential
Output

Refer to the block outputs for this operation.


Delete Issue

Operation
Delete Issue
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Issue Number*
Enter issue number (e.g., 1 for issue #1)
Delete Issue (gitlab_delete_issue)

Delete an issue from a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
issueIidnumberYesIssue internal ID (IID)
Output

Refer to the block outputs for this operation.


Add Issue Comment

Operation
Add Issue Comment
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Issue Number*
Enter issue number (e.g., 1 for issue #1)
Comment*
Enter comment text (Markdown supported)
Add Issue Comment (gitlab_create_issue_note)

Add a comment to a GitLab issue

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
issueIidnumberYesIssue internal ID (IID)
bodystringYesComment body (Markdown supported)
Output

Refer to the block outputs for this operation.


List Merge Requests

Operation
List Merge Requests
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Labels
Enter labels (comma-separated)
State
Select...
Results Per Page
Number of results per page (default: 20, max: 100)
Page Number
Page number (default: 1)
List Merge Requests (gitlab_list_merge_requests)

List merge requests in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
statestringNoFilter by state (opened, closed, merged, all)
labelsstringNoComma-separated list of label names
sourceBranchstringNoFilter by source branch
targetBranchstringNoFilter by target branch
orderBystringNoOrder by field (created_at, updated_at)
sortstringNoSort direction (asc, desc)
perPagenumberNoNumber of results per page (default 20, max 100)
pagenumberNoPage number for pagination
Output
ParameterTypeDescription
mergeRequestsarrayList of GitLab merge requests

Get Merge Request

Operation
Get Merge Request
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
MR Number*
Enter MR number (e.g., 1 for !1)
Get Merge Request (gitlab_get_merge_request)

Get details of a specific GitLab merge request

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
mergeRequestIidnumberYesMerge request internal ID (IID)
Output

Refer to the block outputs for this operation.


Create Merge Request

Operation
Create Merge Request
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Title*
Enter title
Description
Enter description (Markdown supported)
Source Branch*
Enter source branch name
Target Branch*
Enter target branch name (e.g., main)
Labels
Enter labels (comma-separated)
Assignee IDs
Enter assignee user IDs (comma-separated)
Remove Source Branch
Disabled
Create Merge Request (gitlab_create_merge_request)

Create a new merge request in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
sourceBranchstringYesSource branch name
targetBranchstringYesTarget branch name
titlestringYesMerge request title
descriptionstringNoMerge request description (Markdown supported)
labelsstringNoComma-separated list of label names
assigneeIdsarrayNoArray of user IDs to assign
milestoneIdnumberNoMilestone ID to assign
removeSourceBranchbooleanNoDelete source branch after merge
squashbooleanNoSquash commits on merge
draftbooleanNoMark as draft (work in progress)
Output

Refer to the block outputs for this operation.


Update Merge Request

Operation
Update Merge Request
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
MR Number*
Enter MR number (e.g., 1 for !1)
Description
Enter description (Markdown supported)
Labels
Enter labels (comma-separated)
Assignee IDs
Enter assignee user IDs (comma-separated)
State Event
Select...
Update Merge Request (gitlab_update_merge_request)

Update an existing merge request in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
mergeRequestIidnumberYesMerge request internal ID (IID)
titlestringNoNew merge request title
descriptionstringNoNew merge request description
stateEventstringNoState event (close or reopen)
labelsstringNoComma-separated list of label names
assigneeIdsarrayNoArray of user IDs to assign
milestoneIdnumberNoMilestone ID to assign
targetBranchstringNoNew target branch
removeSourceBranchbooleanNoDelete source branch after merge
squashbooleanNoSquash commits on merge
draftbooleanNoMark as draft (work in progress)
Output

Refer to the block outputs for this operation.


Merge Merge Request

Operation
Merge Merge Request
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
MR Number*
Enter MR number (e.g., 1 for !1)
Remove Source Branch
Disabled
Squash Commits
Disabled
Merge Commit Message
Enter custom merge commit message (optional)
Merge Merge Request (gitlab_merge_merge_request)

Merge a merge request in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
mergeRequestIidnumberYesMerge request internal ID (IID)
mergeCommitMessagestringNoCustom merge commit message
squashCommitMessagestringNoCustom squash commit message
squashbooleanNoSquash commits before merging
shouldRemoveSourceBranchbooleanNoDelete source branch after merge
mergeWhenPipelineSucceedsbooleanNoMerge when pipeline succeeds
Output

Refer to the block outputs for this operation.


Add MR Comment

Operation
Add MR Comment
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
MR Number*
Enter MR number (e.g., 1 for !1)
Comment*
Enter comment text (Markdown supported)
Add MR Comment (gitlab_create_merge_request_note)

Add a comment to a GitLab merge request

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
mergeRequestIidnumberYesMerge request internal ID (IID)
bodystringYesComment body (Markdown supported)
Output

Refer to the block outputs for this operation.


List Pipelines

Operation
List Pipelines
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Pipeline Status
Select...
Results Per Page
Number of results per page (default: 20, max: 100)
Page Number
Page number (default: 1)
List Pipelines (gitlab_list_pipelines)

List pipelines in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
refstringNoFilter by ref (branch or tag)
statusstringNoFilter by status (created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled)
orderBystringNoOrder by field (id, status, ref, updated_at, user_id)
sortstringNoSort direction (asc, desc)
perPagenumberNoNumber of results per page (default 20, max 100)
pagenumberNoPage number for pagination
Output
ParameterTypeDescription
pipelinesarrayList of GitLab pipelines

Get Pipeline

Operation
Get Pipeline
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Pipeline ID*
Enter pipeline ID
Get Pipeline (gitlab_get_pipeline)

Get details of a specific GitLab pipeline

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
pipelineIdnumberYesPipeline ID
Output

Refer to the block outputs for this operation.


Create Pipeline

Operation
Create Pipeline
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Branch/Tag*
Enter branch or tag name
Create Pipeline (gitlab_create_pipeline)

Trigger a new pipeline in a GitLab project

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
refstringYesBranch or tag to run the pipeline on
variablesarrayNoArray of variables for the pipeline (each with key, value, and optional variable_type)
Output

Refer to the block outputs for this operation.


Retry Pipeline

Operation
Retry Pipeline
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Pipeline ID*
Enter pipeline ID
Retry Pipeline (gitlab_retry_pipeline)

Retry a failed GitLab pipeline

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
pipelineIdnumberYesPipeline ID
Output

Refer to the block outputs for this operation.


Cancel Pipeline

Operation
Cancel Pipeline
Personal Access Token*
••••••••
Project ID*
Enter project ID or path (e.g., username/project)
Pipeline ID*
Enter pipeline ID
Cancel Pipeline (gitlab_cancel_pipeline)

Cancel a running GitLab pipeline

Input
ParameterTypeRequiredDescription
projectIdstringYesProject ID or URL-encoded path
pipelineIdnumberYesPipeline ID
Output

Refer to the block outputs for this operation.


Usage Instructions

Integrate GitLab into the workflow. Can manage projects, issues, merge requests, pipelines, and add comments. Supports all core GitLab DevOps operations.

Notes

  • Category: tools
  • Type: gitlab