GitLab Issues Search

GitLab Issues Search

Certified

Search issues in a project

Queries GitLab issues for the target project via the REST API. Requires projectId and token; state defaults to opened. Supports custom url and apiPath for self-hosted GitLab and renders templated values before the request.

yaml
type: io.kestra.plugin.gitlab.issues.Search

Search for issues in a GitLab project using an access token.

yaml
id: gitlab_search_issues
namespace: company.team

tasks:
  - id: search_issues
    type: io.kestra.plugin.gitlab.issues.Search
    token: "{{ secret('GITLAB_TOKEN') }}"
    projectId: "123"
    search: "bug"
    state: "opened"
    labels:
      - bug
      - critical

Search for issues in a GitLab project with custom API path for self-hosted GitLab.

yaml
id: gitlab_search_issues
namespace: company.team

tasks:
  - id: search_issues
    type: io.kestra.plugin.gitlab.issues.Search
    url: https://gitlab.example.com
    apiPath: /api/v4/projects
    token: "{{ secret('GITLAB_TOKEN') }}"
    projectId: "123"
    search: "bug"
    state: "opened"
    labels:
      - bug
      - critical
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-gitlab --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.

Properties

Project ID or path

Numeric project ID or project path (group/project). Encoded as one URL segment, including a path that is already percent-encoded.

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.

Default/api/v4/projects

Projects 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.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
SubTypestring

Labels to filter by

Labels rendered from the context and comma-joined for the GitLab API.

Defaultopened

Issue state

Filter by state: opened, closed, or all; defaults to opened when not provided.

Defaulthttps://gitlab.com

GitLab API base URL

Base URL of the GitLab instance; defaults to https://gitlab.com. Override for self-hosted installations.

Number of issues found

Count of issues returned by the request.

SubTypeobject

Found issues

HTTP status code

HTTP response code from the GitLab API.