
Create
Open an issue in Linear.
Create
Open an issue in Linear.
Open an issue in Linear.
yaml
type: "io.kestra.plugin.linear.issues.Create"Examples
yaml
id: linear_issues_create
namespace: company.team
tasks:
- id: create_issue
type: io.kestra.plugin.linear.issues.Create
token: "{{ secret('LINEAR_API_TOKEN') }}"
team: MyTeamName
title: "Increased 5xx in Demo Service"
description: "The number of 5xx has increased beyond the threshold for Demo service."
labels:
- Bug
- Workflow
Create an issue when a Kestra workflow in any namespace with company as prefix fails.
yaml
id: create_ticket_on_failure
namespace: system
tasks:
- id: create_issue
type: io.kestra.plugin.linear.issues.Create
token: "{{ secret('LINEAR_API_TOKEN') }}"
team: MyTeamName
title: Workflow failed
description: "{{ execution.id }} has failed on {{ taskrun.startDate }}. See the link below for more details."
labels:
- Bug
- Workflow
triggers:
- id: on_failure
type: io.kestra.plugin.core.trigger.Flow
conditions:
- type: io.kestra.plugin.core.condition.ExecutionStatus
in:
- FAILED
- WARNING
- type: io.kestra.plugin.core.condition.ExecutionNamespace
namespace: company
comparison: PREFIX
Properties
descriptionstring
Issue description
labelsarray
SubTypestring
Names of labels
teamstring
Team name
titlestring
Issue title
tokenstring
Linear API token
Outputs
isSuccessboolean
Shows whether request was successful
issueIdstring
Issue id