GitLab
App · Code Repositories · 27 actions
Manage GitLab branches, issues, and merge requests with a personal access token, and start workflows on new issues and merge requests.
Actions
| Action | What it does |
|---|---|
| Create branch | Create a new branch in a GitLab project from an existing branch or commit. |
| Create comment | Add a comment to a GitLab issue or merge request. |
| Create issue | Create a new issue in a GitLab project. |
| Create merge request | Create a new merge request in a GitLab project. |
| Create or update a file | Commit a file to a branch: create it if it isn't there, or replace what it holds if it is. |
| Create release | Publish a release for a tag, with a title and release notes. |
| Delete branch | Delete a branch from a GitLab project. |
| Delete file | Delete a file from a branch, as a commit with your message. |
| Delete issue | Permanently delete an issue from a GitLab project. |
| Delete merge request | Permanently delete a merge request from a GitLab project. |
| Delete release | Delete a release. |
| Get branch | Get details of a single branch in a GitLab project. |
| Get file | Read a file in a project, from a branch, tag or commit. |
| Get issue | Get details of a specific issue in a GitLab project. |
| Get merge request | Get details of a specific merge request in a GitLab project. |
| Get project | Read a project's details: its name, description, default branch, who can see it, and its star, fork and open issue counts. |
| Get release | Read one release of a project, by its tag. |
| List a user's projects | List the projects a GitLab user owns that you can see, most recently active first. |
| List files | List the files and folders in a folder of a project, or in the whole project with Include subfolders on. |
| List issues | List a project's issues, newest first: open, closed or all, optionally only those with certain labels or matching some text. |
| List merge requests | List a project's merge requests, newest first: open, merged, closed or all, optionally only those matching some text. |
| List releases | List a project's releases, newest first. |
| Lock issue | Lock an issue's discussion so only project members can comment, or unlock it again. |
| Merge merge request | Merge an open merge request into its target branch. |
| Update issue | Change an issue's title, description or labels, or close or reopen it. |
| Update merge request | Change a merge request's title, description, target branch or labels, or close or reopen it. |
| Update release | Change a release's title, notes or date. |
Create branch
Create a new branch in a GitLab project from an existing branch or commit.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- New branch name
branchtextRequired - The name for the new branch (for example, 'feature/login').
- Start from branch
reftextRequired - The existing branch to create the new branch from (for example, 'main'). Pick one once you've chosen a project.
Outputs
Response envelope; the payload is in the "branch" field.
branchobject
Example output
{
"branch": {
"commit_id": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"default": false,
"name": "feature/login",
"protected": false,
"web_url": "https://gitlab.com/user/project/-/tree/feature/login"
}
}Create comment
Add a comment to a GitLab issue or merge request.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Comment on
target_typetextRequired - Whether to comment on an issue or a merge request.One of:
issue,merge_request(Merge request). Default:issue. - Issue or merge request
target_iidnumberRequired - The issue or merge request to comment on. Pick one once you've chosen a project and whether it's an issue or a merge request, or enter its number (for example, 5).
- Comment
bodytextRequired - The text of the comment.
Outputs
Response envelope; the payload is in the "note" field.
noteobject
Example output
{
"note": {
"body": "This is a comment.",
"id": 101
}
}Create issue
Create a new issue in a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Title
titletextRequired - The title of the new issue.
- Description
descriptiontext - The main text of the issue.
- Labels
labelslist - Labels to add to the issue. Pick any number from the project's labels once you've chosen a project.
Outputs
Response envelope; the payload is in the "issue" field.
issueobject
Example output
{
"issue": {
"id": 789,
"iid": 2,
"state": "opened",
"title": "New feature request",
"web_url": "https://gitlab.com/user/project/-/issues/2"
}
}Create merge request
Create a new merge request in a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Source branch
source_branchtextRequired - The branch with the changes you want to merge. Pick one once you've chosen a project.
- Target branch
target_branchtextRequired - The branch you want to merge the changes into (for example, 'main'). Pick one once you've chosen a project.
- Title
titletextRequired - The title of the merge request.
- Description
descriptiontext - The main text of the merge request.
Outputs
Response envelope; the payload is in the "merge_request" field.
merge_requestobject
Example output
{
"merge_request": {
"id": 555,
"iid": 3,
"source_branch": "feature/login",
"state": "opened",
"target_branch": "main",
"title": "Add login page",
"web_url": "https://gitlab.com/user/project/-/merge_requests/3"
}
}Create or update a file
Commit a file to a branch: create it if it isn't there, or replace what it holds if it is.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Branch
branchtextRequired - The branch to commit the file to.
- File path
file_pathtextRequired - Where the file is in the project, with its folders (for example, docs/CHANGELOG.md).
- Content
contenttext - Everything the file should hold. It replaces what's there. Leave empty for an empty file.
- Commit message
commit_messagetextRequired - A short note saying what changed.
Outputs
Response envelope; the payload is in the "file" field.
fileobject- The file that was committed.
Example output
{
"file": {
"branch": "main",
"created": false,
"file_path": "docs/CHANGELOG.md"
}
}Create release
Publish a release for a tag, with a title and release notes. If the tag isn't there yet, give a branch or commit and GitLab makes the tag from it.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Tag
tag_nametextRequired - The tag of the release, such as v1.4.0.
- Title
nametext - The release's title, such as Version 1.4. Defaults to the tag.
- Release notes
descriptiontext - What's in the release. Markdown works.
- Make the tag from
reftext - Only for a new tag: the branch or commit to make it from, such as main. Leave empty when the tag exists.
- Release date
released_attext - The date and time the release is for, such as 2026-12-01T09:00:00Z. A future date marks it as upcoming. Leave empty for now.
Outputs
Response envelope; the payload is in the "release" field.
releaseobject- The release.
Example output
{
"release": {
"author": "aruiz",
"commit_sha": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"created_at": "2026-11-28T10:00:00.000Z",
"description": "## What's new\n\n- Faster exports",
"name": "Version 1.4",
"released_at": "2026-11-28T10:00:00.000Z",
"tag_name": "v1.4.0",
"upcoming_release": false,
"web_url": "https://gitlab.com/my-group/my-project/-/releases/v1.4.0"
}
}Delete branch
Delete a branch from a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Branch
branchtextRequired - The branch to delete. Pick one once you've chosen a project.
Outputs
Response envelope; the payload is in the "result" field.
resultobject
Example output
{
"result": {
"branch": "feature/login",
"deleted": true
}
}Delete file
Delete a file from a branch, as a commit with your message. Its history stays in the project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Branch
branchtextRequired - The branch to delete the file from.
- File path
file_pathtextRequired - Where the file is in the project, with its folders (for example, docs/CHANGELOG.md).
- Commit message
commit_messagetextRequired - A short note saying why, such as Remove old notes.
Outputs
branchtext- The branch it was deleted from.
deletedtrue/false- True once the file is deleted.
file_pathtext- The file that was deleted.
Example output
{
"branch": "main",
"deleted": true,
"file_path": "docs/OLD_NOTES.md"
}Delete issue
Permanently delete an issue from a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Issue
issue_iidnumberRequired - The issue to delete. Pick one once you've chosen a project, or enter its number (for example, 5 for #5).
Outputs
Response envelope; the payload is in the "result" field.
resultobject
Example output
{
"result": {
"deleted": true,
"iid": 1
}
}Delete merge request
Permanently delete a merge request from a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Merge request
merge_request_iidnumberRequired - The merge request to delete. Pick one once you've chosen a project, or enter its number (for example, 3 for !3).
Outputs
Response envelope; the payload is in the "result" field.
resultobject
Example output
{
"result": {
"deleted": true,
"iid": 3
}
}Delete release
Delete a release. Its tag and the code stay; only the release page and its notes go.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Tag
tag_nametextRequired - The tag of the release, such as v1.4.0.
Outputs
deletedtrue/false- True once the release is deleted.
tag_nametext- The tag of the release that was deleted.
Example output
{
"deleted": true,
"tag_name": "v1.4.0"
}Get branch
Get details of a single branch in a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Branch
branchtextRequired - The branch to look up. Pick one once you've chosen a project.
Outputs
Response envelope; the payload is in the "branch" field.
branchobject
Example output
{
"branch": {
"commit_id": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"default": true,
"merged": false,
"name": "main",
"protected": true,
"web_url": "https://gitlab.com/user/project/-/tree/main"
}
}Get file
Read a file in a project, from a branch, tag or commit. A text file up to 1 MB comes with what it says.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- File path
file_pathtextRequired - Where the file is in the project, with its folders (for example, docs/CHANGELOG.md).
- Branch
reftext - The branch to read, or a tag or commit. Leave empty for the project's default branch.
Outputs
Response envelope; the payload is in the "file" field.
fileobject- The file.
Example output
{
"file": {
"content": "# Changelog\n\n- Faster exports\n",
"file_name": "CHANGELOG.md",
"file_path": "docs/CHANGELOG.md",
"is_text": true,
"last_commit_id": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"ref": "main",
"size": 31
}
}Get issue
Get details of a specific issue in a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Issue
issue_iidnumberRequired - The issue to look up. Pick one once you've chosen a project, or enter its number (for example, 5 for #5).
Outputs
Response envelope; the payload is in the "issue" field.
issueobject
Example output
{
"issue": {
"description": "Steps to reproduce the bug.",
"id": 456,
"iid": 1,
"state": "opened",
"title": "Bug report",
"web_url": "https://gitlab.com/user/project/-/issues/1"
}
}Get merge request
Get details of a specific merge request in a GitLab project.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Merge request
merge_request_iidnumberRequired - The merge request to look up. Pick one once you've chosen a project, or enter its number (for example, 3 for !3).
Outputs
Response envelope; the payload is in the "merge_request" field.
merge_requestobject
Example output
{
"merge_request": {
"id": 555,
"iid": 3,
"merge_status": "can_be_merged",
"source_branch": "feature/login",
"state": "opened",
"target_branch": "main",
"title": "Add login page",
"web_url": "https://gitlab.com/user/project/-/merge_requests/3"
}
}Get project
Read a project's details: its name, description, default branch, who can see it, and its star, fork and open issue counts.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
Outputs
Response envelope; the payload is in the "project" field.
projectobject- The project.
Example output
{
"project": {
"created_at": "2025-03-02T09:00:00.000Z",
"default_branch": "main",
"description": "Our website.",
"forks_count": 1,
"http_url_to_repo": "https://gitlab.com/my-group/my-project.git",
"id": 123,
"last_activity_at": "2026-11-29T16:20:00.000Z",
"name": "My Project",
"namespace": "my-group",
"open_issues_count": 12,
"path_with_namespace": "my-group/my-project",
"star_count": 4,
"visibility": "private",
"web_url": "https://gitlab.com/my-group/my-project"
}
}Get release
Read one release of a project, by its tag.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Tag
tag_nametextRequired - The tag of the release, such as v1.4.0.
Outputs
Response envelope; the payload is in the "release" field.
releaseobject- The release.
Example output
{
"release": {
"author": "aruiz",
"commit_sha": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"created_at": "2026-11-28T10:00:00.000Z",
"description": "## What's new\n\n- Faster exports",
"name": "Version 1.4",
"released_at": "2026-11-28T10:00:00.000Z",
"tag_name": "v1.4.0",
"upcoming_release": false,
"web_url": "https://gitlab.com/my-group/my-project/-/releases/v1.4.0"
}
}List a user's projects
List the projects a GitLab user owns that you can see, most recently active first.
Inputs
- User
usertextRequired - Their username, such as aruiz, or numeric user ID.
- How many
per_pagenumber - How many to return, up to 100.From 1 to 100. Default:
20.
Outputs
Response envelope; the payload is in the "projects" field.
projectslist- The projects, most recently active first.
Example output
{
"projects": [
{
"created_at": "2025-03-02T09:00:00.000Z",
"default_branch": "main",
"description": "Our website.",
"forks_count": 1,
"http_url_to_repo": "https://gitlab.com/my-group/my-project.git",
"id": 123,
"last_activity_at": "2026-11-29T16:20:00.000Z",
"name": "My Project",
"namespace": "my-group",
"open_issues_count": 12,
"path_with_namespace": "my-group/my-project",
"star_count": 4,
"visibility": "private",
"web_url": "https://gitlab.com/my-group/my-project"
}
]
}List files
List the files and folders in a folder of a project, or in the whole project with Include subfolders on.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Folder
pathtext - The folder to list, such as docs. Leave empty for the top of the project.
- Branch
reftext - The branch to read, or a tag or commit. Leave empty for the project's default branch.
- Include subfolders
recursivetrue/false - Also list what's inside every folder below it.Default:
false. - How many
per_pagenumber - How many files and folders to return, up to 100.From 1 to 100. Default:
100.
Outputs
Response envelope; the payload is in the "files" field.
fileslist- The files and folders.
Example output
{
"files": [
{
"id": "a1e8f8d745cc87e3a9248358d9352bb7f9a0aeba",
"name": "README.md",
"path": "README.md",
"type": "file"
},
{
"id": "4535904260b1082e14f867f7a24fd8c21495bde3",
"name": "docs",
"path": "docs",
"type": "folder"
}
]
}List issues
List a project's issues, newest first: open, closed or all, optionally only those with certain labels or matching some text.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Which issues
statetext - Open issues, closed ones, or all of them.One of:
opened(Open),closed,all. Default:opened. - With labels
labelslist - Only issues that have every one of these labels.
- Search text
searchtext - Only issues whose title or description contains this.
- Maximum results
per_pagenumber - The most issues to return, up to 100. Defaults to 20.From 1 to 100.
Outputs
Response envelope; the list is in the "issues" field.
issueslist- The issues, newest first.
Example output
{
"issues": [
{
"assignees": [
"bo"
],
"author": "ann",
"created_at": "2026-11-06T10:00:00.000Z",
"description": "It would help if...",
"id": 789,
"iid": 2,
"labels": [
"feature"
],
"state": "opened",
"title": "New feature request",
"web_url": "https://gitlab.com/user/project/-/issues/2"
}
]
}List merge requests
List a project's merge requests, newest first: open, merged, closed or all, optionally only those matching some text. Can keep only the ones opened some days ago or longer, leave out drafts, and gives each one's author, reviewers and days open, with a count of how many it found.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Which merge requests
statetext - Open ones, merged ones, ones closed without merging, or all.One of:
opened(Open),merged,closed(Closed (not merged)),all. Default:opened. - Search text
searchtext - Only merge requests whose title or description contains this.
- Maximum results
per_pagenumber - The most merge requests to return, up to 100. Defaults to 20.From 1 to 100.
- Opened at least this many days ago
opened_at_least_days_agonumber - Beta. Only merge requests opened this many days ago or longer, such as 2 for ones that have waited more than two days. Leave blank for any age.At least 0.
- Not changed in this many days
not_updated_in_daysnumber - Beta. Only merge requests nobody has touched for this many days: no comment, commit or edit. Such as 7 for ones gone quiet for a week. Leave blank for any.At least 0.
- Drafts
draftstext - Beta. Whether to list merge requests marked as drafts: include them, leave them out, or list only drafts.One of:
include(Include drafts),leave_out(Leave out drafts),only(Only drafts). Default:include. - Opened by
author_usernametext - Beta. Only merge requests opened by this person: their GitLab username, such as aruiz.
- Reviewer
reviewer_usernametext - Beta. Only merge requests this person has been asked to review: their GitLab username, such as slee.
- With labels
labelslist - Beta. Only merge requests that have every one of these labels.
- Merging into
target_branchtext - Beta. Only merge requests that would merge into this branch, such as main.
- Order
ordertext - Beta. Newest first, or oldest first to put the ones that have waited longest at the top.One of:
newest(Newest first),oldest(Oldest first). Default:newest.
Outputs
Response envelope; the list is in the "merge_requests" field.
countnumber- Beta. How many merge requests are in the list, such as 2. 0 when none match.
merge_requestslist- The merge requests, newest first unless Order says oldest first.
Example output
{
"count": 2,
"merge_requests": [
{
"assignees_text": "Ana Ruiz",
"author": "aruiz",
"author_name": "Ana Ruiz",
"author_username": "aruiz",
"created_at": "2026-11-06T10:00:00.000Z",
"created_display": "Nov 6, 2026",
"days_open": 4,
"description": "Adds the login page.",
"draft": false,
"has_conflicts": false,
"id": 555,
"iid": 3,
"labels": [
"frontend"
],
"reference": "!3",
"reviewers": [
"Sam Lee",
"Priya Patel"
],
"reviewers_text": "Sam Lee, Priya Patel",
"source_branch": "feature/login",
"state": "opened",
"target_branch": "main",
"title": "Add login page",
"updated_at": "2026-11-09T15:30:00.000Z",
"web_url": "https://gitlab.com/user/project/-/merge_requests/3"
},
{
"assignees_text": "Sam Lee",
"author": "slee",
"author_name": "Sam Lee",
"author_username": "slee",
"created_at": "2026-11-03T08:15:00.000Z",
"created_display": "Nov 3, 2026",
"days_open": 7,
"description": "Still moving the export to the new report format.",
"draft": true,
"has_conflicts": true,
"id": 561,
"iid": 7,
"labels": [
"backend"
],
"reference": "!7",
"reviewers": [],
"reviewers_text": "",
"source_branch": "billing-export",
"state": "opened",
"target_branch": "main",
"title": "Draft: Rework the billing export",
"updated_at": "2026-11-04T11:00:00.000Z",
"web_url": "https://gitlab.com/user/project/-/merge_requests/7"
}
]
}List releases
List a project's releases, newest first.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- How many
per_pagenumber - How many to return, up to 100.From 1 to 100. Default:
20.
Outputs
Response envelope; the payload is in the "releases" field.
releaseslist- The releases, newest first.
Example output
{
"releases": [
{
"author": "aruiz",
"commit_sha": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"created_at": "2026-11-28T10:00:00.000Z",
"description": "## What's new\n\n- Faster exports",
"name": "Version 1.4",
"released_at": "2026-11-28T10:00:00.000Z",
"tag_name": "v1.4.0",
"upcoming_release": false,
"web_url": "https://gitlab.com/my-group/my-project/-/releases/v1.4.0"
}
]
}Lock issue
Lock an issue's discussion so only project members can comment, or unlock it again.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Issue
issue_iidnumberRequired - The issue to lock. Pick one once you've chosen a project, or enter its number (for example, 5 for #5).
- Locked
lockedtrue/false - On locks the discussion; off unlocks it.Default:
true.
Outputs
Response envelope; the payload is in the "issue" field.
issueobject- The issue as it is now.
Example output
{
"issue": {
"assignees": [
"bo"
],
"author": "ann",
"created_at": "2026-11-06T10:00:00.000Z",
"description": "It would help if...",
"discussion_locked": true,
"id": 789,
"iid": 2,
"labels": [
"feature"
],
"state": "opened",
"title": "New feature request",
"web_url": "https://gitlab.com/user/project/-/issues/2"
}
}Merge merge request
Merge an open merge request into its target branch. GitLab refuses one that's a draft, has conflicts, or is still waiting for checks or approvals, and the step says which.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Merge request
merge_request_iidnumberRequired - The merge request to merge. Pick one once you've chosen a project, or enter its number (for example, 3 for !3).
- Squash commits
squashtrue/false - Combine its commits into one when merging.
- Delete source branch
should_remove_source_branchtrue/false - Delete the branch with the changes once it's merged.
- Merge commit message
merge_commit_messagetext - Optional message for the merge commit, instead of GitLab's own.
Outputs
Response envelope; the payload is in the "merge_request" field.
merge_requestobject- The merge request after merging.
Example output
{
"merge_request": {
"id": 555,
"iid": 3,
"merge_commit_sha": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"merged_by": "ann",
"state": "merged",
"title": "Add login page",
"web_url": "https://gitlab.com/user/project/-/merge_requests/3"
}
}Update issue
Change an issue's title, description or labels, or close or reopen it. Only what you fill in changes.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Issue
issue_iidnumberRequired - The issue to change. Pick one once you've chosen a project, or enter its number (for example, 5 for #5).
- New title
titletext - A new title for the issue.
- New description
descriptiontext - New main text, which replaces the old.
- Labels
labelslist - The issue's labels from now on: these replace the ones it has. Leave empty to keep them.
- Close or reopen
state_eventtext - Close the issue, or reopen a closed one. Leave blank to keep it as it is.One of:
close(Close it),reopen(Reopen it).
Outputs
Response envelope; the payload is in the "issue" field.
issueobject- The issue as it is now.
Example output
{
"issue": {
"assignees": [
"bo"
],
"author": "ann",
"created_at": "2026-11-06T10:00:00.000Z",
"description": "It would help if...",
"id": 789,
"iid": 2,
"labels": [
"feature"
],
"state": "opened",
"title": "New feature request",
"web_url": "https://gitlab.com/user/project/-/issues/2"
}
}Update merge request
Change a merge request's title, description, target branch or labels, or close or reopen it. Only what you fill in changes.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Merge request
merge_request_iidnumberRequired - The merge request to change. Pick one once you've chosen a project, or enter its number (for example, 3 for !3).
- New title
titletext - A new title for the merge request.
- New description
descriptiontext - New main text, which replaces the old.
- New target branch
target_branchtext - The branch it should merge into from now on.
- Labels
labelslist - Its labels from now on: these replace the ones it has. Leave empty to keep them.
- Close or reopen
state_eventtext - Close the merge request without merging it, or reopen a closed one. Leave blank to keep it as it is.One of:
close(Close it),reopen(Reopen it).
Outputs
Response envelope; the payload is in the "merge_request" field.
merge_requestobject- The merge request as it is now.
Example output
{
"merge_request": {
"assignees_text": "Ana Ruiz",
"author": "aruiz",
"author_name": "Ana Ruiz",
"author_username": "aruiz",
"created_at": "2026-11-06T10:00:00.000Z",
"created_display": "Nov 6, 2026",
"days_open": 4,
"description": "Adds the login page.",
"draft": false,
"has_conflicts": false,
"id": 555,
"iid": 3,
"labels": [
"frontend"
],
"reference": "!3",
"reviewers": [
"Sam Lee",
"Priya Patel"
],
"reviewers_text": "Sam Lee, Priya Patel",
"source_branch": "feature/login",
"state": "opened",
"target_branch": "main",
"title": "Add login page",
"updated_at": "2026-11-09T15:30:00.000Z",
"web_url": "https://gitlab.com/user/project/-/merge_requests/3"
}
}Update release
Change a release's title, notes or date. Only what you fill in changes; the tag stays.
Inputs
- Project
projecttextRequired - The project to act on. Pick one from the list, or enter the project path shown in its web address (for example, 'my-group/my-project') or its numeric project ID.
- Tag
tag_nametextRequired - The tag of the release, such as v1.4.0.
- Title
nametext - The release's title, such as Version 1.4. Defaults to the tag.
- Release notes
descriptiontext - What's in the release. Markdown works.
- Release date
released_attext - The date and time the release is for, such as 2026-12-01T09:00:00Z. A future date marks it as upcoming. Leave empty for now.
Outputs
Response envelope; the payload is in the "release" field.
releaseobject- The release.
Example output
{
"release": {
"author": "aruiz",
"commit_sha": "b83d6e391c22777fca1ed3012fce84f633d7fed0",
"created_at": "2026-11-28T10:00:00.000Z",
"description": "## What's new\n\n- Faster exports",
"name": "Version 1.4",
"released_at": "2026-11-28T10:00:00.000Z",
"tag_name": "v1.4.0",
"upcoming_release": false,
"web_url": "https://gitlab.com/my-group/my-project/-/releases/v1.4.0"
}
}