
Linear Create
CertifiedCreate an issue in Linear
Linear Create
Create an issue in Linear
Creates a Linear issue via GraphQL. Resolves the team by name (case-insensitive) and optionally attaches labels by their names. Returns Linear's mutation success flag and the created issue id.
type: io.kestra.plugin.linear.issues.CreateExamples
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.
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
description string
Issue description
Optional issue body; rendered with flow variables before sending to Linear.
labels array
Label names
Labels to attach, matched by name. If empty, the issue is created without labels.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
team string
Team name
Linear team name used to look up the team id; comparison is case-insensitive.
title string
Issue title
Title text for the issue; templating supported through property rendering.
token string
Linear API token
Full Authorization header value for Linear (usually the personal API key). Treat as secret and supply any needed prefix such as Bearer yourself.
Outputs
isSuccess boolean
Shows whether request was successful
True when the API call returns HTTP 200 and Linear reports success for the mutation.
issueId string
Issue id
Identifier of the created issue when the mutation succeeds.