
GitLab Create
CertifiedCreate issue in a project
GitLab Create
Create issue in a project
Creates an issue through the GitLab REST API for the specified project. Requires projectId, token, and title; description and labels are optional. Supports custom url and apiPath for self-hosted GitLab and renders templated values before sending.
type: io.kestra.plugin.gitlab.issues.CreateExamples
Create an issue in a GitLab project using an access token.
id: gitlab_create_issue
namespace: company.team
tasks:
- id: create_issue
type: io.kestra.plugin.gitlab.issues.Create
token: "{{ secret('GITLAB_TOKEN') }}"
projectId: "123"
title: "Bug report"
issueDescription: "Found a critical bug"
labels:
- bug
- critical
Create an issue with custom API path for self-hosted GitLab.
id: gitlab_create_issue_self_hosted
namespace: company.team
tasks:
- id: create_issue
type: io.kestra.plugin.gitlab.issues.Create
url: https://gitlab.example.com
apiPath: /api/v4/projects
token: "{{ secret('GITLAB_TOKEN') }}"
projectId: "123"
title: "Bug report"
issueDescription: "Found a critical bug"
Properties
projectId *Requiredstring
Project ID or path
Numeric project ID or URL-encoded project path rendered from the context to build API endpoints.
title *Requiredstring
Issue title
Title text for the new issue (required).
token *Requiredstring
Access token used for API calls
GitLab Personal/Project/Group Access Token sent as the PRIVATE-TOKEN header; requires scopes that cover the requested API operations. See the GitLab Authentication docs.
apiPath string
/api/v4/projectsProjects API path
Projects API prefix appended before the project ID; defaults to /api/v4/projects. Override when fronting GitLab with a proxy or custom base path.
issueDescription string
Issue description
Optional Markdown or text body for the issue.
labels array
Labels to assign to the issue
Rendered list of labels applied to the issue.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
url string
https://gitlab.comGitLab API base URL
Base URL of the GitLab instance; defaults to https://gitlab.com. Override for self-hosted installations.
Outputs
issueId string
Issue ID
statusCode integer
HTTP status code
HTTP response code from the GitLab API.
webUrl string
Issue URL
Web URL of the created issue.