Stitch / docs
Linear

Issue

Start work when an issue is created or selected fields change.


Use type: Issue with actions: [create] or actions: [update]. Declare create and update separately.

Schema

Linear trigger JSON Schema

key: linear-ready
name: Work on ready issues
provider: linear
harness: coding-agent
sandbox: workspace
agentId: build
initialPrompt: Implement the requested issue in this repository.
linear:
  connection: engineering
  event:
    type: Issue
    actions: [update]
  changedFields: [stateId]
  stateIds: ['ready-state-uuid']

Filters

These fields belong under linear. All configured filters must pass.

FilterMatching
teamIdsMatch any selected team ID.
projectIdsMatch any selected project ID.
stateIdsMatch any selected workflow state ID.
assigneeIdsMatch any selected assignee ID.
creatorIdsMatch any selected issue creator ID, not the event actor.
issueIdsMatch any selected issue UUID.
issuesMatch exact issue identifiers such as ENG-42.
projectsMatch any selected exact project name.
statesMatch any selected exact workflow-state name.
teamsMatch any selected exact team name or key, such as ENG.
labelIdsMatch selected labels using labelOperator.
labelsMatch exact label names using labelOperator.
labelOperatorhas_any (default), has_all, or has_none.
addedLabelIdsIssue update added at least one selected label.
changedFieldsIssue update changed any of stateId, assigneeId, labelIds, projectId, priority, title, or description.
humanActorsOnlyRequire a human user actor; defaults to false.
actorIdsRequire one of the selected actor IDs.
keywordsMatch any case-insensitive substring in the issue title or description.
mentionedUserIdsMatch user IDs in Linear profile mention links in the issue text; plain names do not count.

See shared filter rules and aliases for snake_case spellings and how ID and name filters combine.

Create filters are optional. Update requires changedFields or addedLabelIds. Change filters are supported only for Issue/update. commands is not supported for issue events.

For label-driven work, use addedLabelIds to match newly added labels. Use labelIds and labelOperator to test membership after the change.

Event behavior

Filters use the signed webhook's event-time data. Name, identifier, and creator filters fetch missing details from the current API state when needed. changedFields matches any listed field present in updatedFrom, including a null previous value.

Concurrency

Supported scopes: repository and subject. The subject is the issue UUID. Limits are per trigger, Linear connection, and execution repository. Concurrency limits hold work in the queue until capacity is available. commit and event scopes are not supported.

See General for setup and shared rules, and the Linear trigger schema for configuration fields.

On this page