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
Name | Label | Type | Description | Required |
---|---|---|---|---|
clientId | Client Id | STRING | true | |
clientSecret | Client Secret | STRING | true |
Actions
Create Issue
Name: createIssue
Creates a new project issue.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
projectId | Project ID | STRING | ID of the project where new issue will be created. | true |
title | Title | STRING | The title of an issue. | true |
description | Description | STRING | The description of an issue. | false |
Example JSON Structure
{
"label" : "Create Issue",
"name" : "createIssue",
"parameters" : {
"projectId" : "",
"title" : "",
"description" : ""
},
"type" : "gitlab/v1/createIssue"
}
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | INTEGER | The ID of the issue. |
iid | INTEGER | The internal ID of the issue. |
project_id | INTEGER | The ID of the project. |
title | STRING | The title of the issue. |
description | STRING | The description of the issue. |
web_url | STRING | The URL of the issue. |
Output Example
{
"id" : 1,
"iid" : 1,
"project_id" : 1,
"title" : "",
"description" : "",
"web_url" : ""
}
Create Comment on Issue
Name: createCommentOnIssue
Adds a comment to the specified issue.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
projectId | Project ID | STRING | true | |
issueId | Issue ID | INTEGER Depends OnprojectId | ID of the issue to comment on. | true |
body | Comment | STRING | The comment to add to the issue. | true |
Example JSON Structure
{
"label" : "Create Comment on Issue",
"name" : "createCommentOnIssue",
"parameters" : {
"projectId" : "",
"issueId" : 1,
"body" : ""
},
"type" : "gitlab/v1/createCommentOnIssue"
}
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | INTEGER | The ID of the comment. |
body | STRING | The body of the comment. |
Output Example
{
"id" : 1,
"body" : ""
}
Triggers
New Issue
Name: newIssue
Triggers when a new issue is created.
Type: DYNAMIC_WEBHOOK
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
projectId | Project | STRING | true |
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
description | STRING | The description of the issue. |
id | INTEGER | The ID of the issue. |
iid | INTEGER | The internal ID of the issue. |
projectId | INTEGER | The ID of the project. |
title | STRING | The title of the issue. |
JSON Example
{
"label" : "New Issue",
"name" : "newIssue",
"parameters" : {
"projectId" : ""
},
"type" : "gitlab/v1/newIssue"
}
What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.