Skip to content

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
The ports of “Linear”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Linear connection.Linearlinear.apimainmainerror · only with “Follow the Error output”Connection: Linear
The ports of “Linear”: what comes in on the left, what goes out on the right

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 issue
    • updateIssue — Update an issue
    • comment — Comment on an issue
    • attachLink — Link a document: A URL (a file filed on a Drive, a page) attached to the issue.
    • getIssue — Get an issue
    • searchIssues — 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: action is one of createIssue, 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: action is one of createIssue, 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: action is one of updateIssue, comment, attachLink, getIssue
  • Expressions: {{ }} accepted

title ​

Title

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 1000 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is one of createIssue, updateIssue, attachLink
  • Expressions: {{ }} accepted

description ​

Description (Markdown)

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 50000 characters at most
  • Example: {{ email.bodyText }}
  • Shown when: action is createIssue
  • Expressions: {{ }} accepted

priority ​

Priority

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Default / unchanged
    • 1 — Urgent
    • 2 — High
    • 3 — Normal
    • 4 — Low
    • 0 — No priority
  • Shown when: action is one of createIssue, updateIssue

body ​

Comment (Markdown)

  • Type: Long text (text)
  • Required: Yes
  • Default: "" (empty)
  • 50000 characters at most
  • Shown when: action is comment
  • Expressions: {{ }} accepted

url ​

URL

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 2000 characters at most
  • Shown when: action is attachLink
  • Expressions: {{ }} accepted

term ​

Search

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 500 characters at most
  • Shown when: action is searchIssues
  • Expressions: {{ }} accepted

limit ​

Maximum count

  • Type: Number (number)
  • Required: No
  • Default: 10
  • Whole number, from 1 to 50
  • Shown when: action is searchIssues

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-12 or its UUID) and Search issues.

Loop & Roll — the workflow builder for email.