English
Linear
Creates a Linear issue from an email, comments, changes its state or priority, links a document, and searches issues.
The Linear node turns a request received by email into an issue tracked by the team, then moves it forward: comment, state, priority, linked document.
It works with a Linear connection (a personal API key). See Linear.
At a glance
- Type:
linear.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Linear
- Inputs:
main - Outputs:
main
Connection
This node needs a Linear connection.
Parameters
connection
Linear connection — The Linear connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
createIssue - Options:
createIssue— Create an issueupdateIssue— Update an issuecomment— Comment on an issueattachLink— Link a document: A URL (a file filed on a Drive, a page) attached to the issue.getIssue— Get an issuesearchIssues— Search issues
team
Team
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
linear.team) - Listed with the connection in:
connection - Shown when:
actionis one ofcreateIssue,updateIssue
state
State — Optional: empty, the issue enters the team’s default state (or keeps its own).
- Type: Remote resource (
resourceLocator) - Required: No
- Ways to choose: pick from a list, type an ID (
linear.state) - Listed inside:
team - Listed with the connection in:
connection - Shown when:
actionis one ofcreateIssue,updateIssue
issueId
Issue — The issue id (ENG-123 or its UUID).
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 100 characters at most
- Example:
{{ data.linear.issueId }} - Shown when:
actionis one ofupdateIssue,comment,attachLink,getIssue - Expressions:
{{ }}accepted
title
Title
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 1000 characters at most
- Example:
{{ email.subject }} - Shown when:
actionis one ofcreateIssue,updateIssue,attachLink - Expressions:
{{ }}accepted
description
Description (Markdown)
- Type: Long text (
text) - Required: No
- Default:
""(empty) - 50000 characters at most
- Example:
{{ email.bodyText }} - Shown when:
actioniscreateIssue - Expressions:
{{ }}accepted
priority
Priority
- Type: One choice (
options) - Required: No
- Default:
unchanged - Options:
unchanged— Default / unchanged1— Urgent2— High3— Normal4— Low0— No priority
- Shown when:
actionis one ofcreateIssue,updateIssue
body
Comment (Markdown)
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 50000 characters at most
- Shown when:
actioniscomment - Expressions:
{{ }}accepted
url
URL
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 2000 characters at most
- Shown when:
actionisattachLink - Expressions:
{{ }}accepted
term
Search
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 500 characters at most
- Shown when:
actionissearchIssues - Expressions:
{{ }}accepted
limit
Maximum count
- Type: Number (
number) - Required: No
- Default:
10 - Whole number, from 1 to 50
- Shown when:
actionissearchIssues
Outputs
main— Taken once the call to Linear succeeds. An error returned by Linear fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.issueId }}—string. Create, update, get: the issue’s readable id (GES-12).{{ data.<step>.url }}—string. Create an issue and Comment: the link in Linear.{{ data.<step>.issue }}—{ id, identifier, title, description, url, priority, state, stateType, assigneeName, teamKey, createdAt, updatedAt }. Create, update, get: the issue.{{ data.<step>.issues }}—array of { id, identifier, title, description, url, priority, state, stateType, assigneeName, teamKey, createdAt, updatedAt }. Search only: the issues found.{{ data.<step>.simulated }}—boolean. true when the write was described instead of done (test run). Get and search always go out for real.{{ data.<step>.summary }}—string. The one-line summary in the member’s language.
Operations
- Create an issue — team, optional state (otherwise the team’s default state), priority, Markdown description.
- Update an issue — state, priority, title.
- Comment on an issue, Link a document (a URL).
- Get an issue (
GES-12or its UUID) and Search issues.