Create a GitLab issue.

Create a new issue in a GitLab project. You need to provide a valid GitLab project ID and a personal access token with the necessary permissions.

yaml
type: "io.kestra.plugin.gitlab.issues.Create"

Create an issue in a GitLab project using a project access token.

yaml
id: gitlab_create_issue
namespace: company.team

tasks:
  - id: create_issue
    type: io.kestra.plugin.gitlab.issues.Create
    url: https://gitlab.example.com
    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.

yaml
id: gitlab_create_issue_custom
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

Project ID

GitLab project ID

Issue title

Personal Access Token

GitLab Personal Access Token

Default /api/v4/projects

API Path

Custom API path for GitLab API endpoints

Issue description

SubType string

Labels to assign to the issue

Default https://gitlab.com

GitLab URL

GitLab URL

Created issue ID

HTTP status code

Issue web URL