Skip to content

GitLab

GitLab is a web-based DevOps lifecycle tool that provides a Git repository manager, CI/CD pipelines, issue tracking, and more in a single application.

Categories: developer-tools

Type: gitlab/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Create Issue

Name: createIssue

Creates a new project issue.

Properties

NameLabelTypeDescriptionRequired
projectIdProject IDSTRINGID of the project where new issue will be created.true
titleTitleSTRINGThe title of an issue.true
descriptionDescriptionSTRINGThe description of an issue.false

Output

Type: OBJECT

Properties

NameType
idINTEGER
iidINTEGER
project_idINTEGER
titleSTRING
descriptionSTRING
web_urlSTRING

JSON Example

{
"label" : "Create Issue",
"name" : "createIssue",
"parameters" : {
"projectId" : "",
"title" : "",
"description" : ""
},
"type" : "gitlab/v1/createIssue"
}

Create Comment on Issue

Name: createCommentOnIssue

Adds a comment to the specified issue.

Properties

NameLabelTypeDescriptionRequired
projectIdProject IDSTRINGtrue
issueIdIssue IDINTEGER
Depends On projectId
ID of the issue to comment on.true
bodyCommentSTRINGThe comment to add to the issue.true

Output

Type: OBJECT

Properties

NameType
idINTEGER
bodySTRING

JSON Example

{
"label" : "Create Comment on Issue",
"name" : "createCommentOnIssue",
"parameters" : {
"projectId" : "",
"issueId" : 1,
"body" : ""
},
"type" : "gitlab/v1/createCommentOnIssue"
}

Triggers

New Issue

Name: newIssue

Triggers when a new issue is created.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeDescriptionRequired
projectIdProjectSTRINGtrue

Output

Type: OBJECT

Properties

NameType
descriptionSTRING
idINTEGER
iidINTEGER
projectIdINTEGER
titleSTRING

JSON Example

{
"label" : "New Issue",
"name" : "newIssue",
"parameters" : {
"projectId" : ""
},
"type" : "gitlab/v1/newIssue"
}