StyloDocs
Workflow blocks

Linear

Create, find, and update Linear issues

View as Markdown

linear — Create, find, and update Linear issues.

Where it appears

The Linear block lives in the Integrations group of the Workflow Builder. Connect the Linear integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
resourceselectYesissueWhich Linear resource to work with. Options: issue.
operationselectYesWhich action to perform on the selected resource.
ticketTitletext (supports references)YesTitle of the Linear issue to create. Use literal text or <StepName.field> to reference a value from a previous step.
ticketDescriptiontext (multi-line, supports references)NoOptional description body for the Linear issue (supports Markdown). Use literal text or <StepName.field>.
ticketPriorityselectNo2Linear priority for the issue, using Linear's scale (0 = No Priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low). Options: 0, 1, 2, 3, 4.
linearAssigneeIdtext (supports references)NoOptional Linear user ID to filter issues by assignee. Accepts a literal ID or <StepName.field>.
linearTeamIdtext (supports references)NoOptional Linear team ID to limit the search to a single team. Accepts a literal ID or <StepName.field>.
linearStatusselectNoanyOptional workflow-state category to filter issues by. Select Any to include all statuses. Options: any, backlog, todo, in_progress, done, canceled, duplicate.
linearLabeltext (supports references)NoOptional Linear label name to filter issues by. Accepts literal text or <StepName.field>.
issueIdtext (supports references)YesID of the Linear issue to update. Use a literal ID or <StepName.field> to reference an ID from a previous step.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Linear.field>.

NameTypeDescription
successbooleanWhether ticket was created successfully
issueIdstringCreated issue ID
issueUrlstringURL to the created issue
errorstringError message if failed
issuesarrayArray of matching issues
countnumberNumber of issues found

Example

A minimal configuration for this block:

{
  "type": "linear",
  "config": {
    "resource": "issue",
    "operation": "...",
    "ticketTitle": "<PreviousStep.field>",
    "ticketPriority": "2",
    "linearStatus": "any",
    "issueId": "<PreviousStep.field>"
  }
}

Limits and failure modes

  • Requires a connected Linear integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required fields (resource, operation, ticketTitle, issueId) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page