
GitLab Issues Search
CertifiedSearch issues in a project
GitLab Issues Search
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.
type: io.kestra.plugin.gitlab.issues.SearchExamples
Search for issues in a GitLab project using an access token.
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.
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
projectId *string
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.
token *string
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.
assets
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.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset 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.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150labels array
Labels to filter by
Labels rendered from the context and comma-joined for the GitLab API.
search string
Search query
Free-text query matched against issue title and description.
state string
openedIssue state
Filter by state: opened, closed, or all; defaults to opened when not provided.
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
count integer
Number of issues found
Count of issues returned by the request.
issues array
Found issues
statusCode integer
HTTP status code
HTTP response code from the GitLab API.