# Issue

URL: https://docs.usestitch.ai/docs/triggers/linear/issue



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

## Schema [#schema]

[Linear trigger JSON Schema](/schema/linear.json)

```yaml
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 [#filters]

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

| Filter                                                         | Matching                                                                                                             |
| -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [`teamIds`](/docs/triggers/linear#events-and-filters)          | Match any selected team ID.                                                                                          |
| [`projectIds`](/docs/triggers/linear#events-and-filters)       | Match any selected project ID.                                                                                       |
| [`stateIds`](/docs/triggers/linear#events-and-filters)         | Match any selected workflow state ID.                                                                                |
| [`assigneeIds`](/docs/triggers/linear#events-and-filters)      | Match any selected assignee ID.                                                                                      |
| [`creatorIds`](/docs/triggers/linear#events-and-filters)       | Match any selected issue creator ID, not the event actor.                                                            |
| [`issueIds`](/docs/triggers/linear#events-and-filters)         | Match any selected issue UUID.                                                                                       |
| [`issues`](/docs/triggers/linear#events-and-filters)           | Match exact issue identifiers such as `ENG-42`.                                                                      |
| [`projects`](/docs/triggers/linear#events-and-filters)         | Match any selected exact project name.                                                                               |
| [`states`](/docs/triggers/linear#events-and-filters)           | Match any selected exact workflow-state name.                                                                        |
| [`teams`](/docs/triggers/linear#events-and-filters)            | Match any selected exact team name or key, such as `ENG`.                                                            |
| [`labelIds`](/docs/triggers/linear#events-and-filters)         | Match selected labels using `labelOperator`.                                                                         |
| [`labels`](/docs/triggers/linear#events-and-filters)           | Match exact label names using `labelOperator`.                                                                       |
| [`labelOperator`](/docs/triggers/linear#events-and-filters)    | `has_any` (default), `has_all`, or `has_none`.                                                                       |
| [`addedLabelIds`](/docs/triggers/linear#events-and-filters)    | Issue update added at least one selected label.                                                                      |
| [`changedFields`](/docs/triggers/linear#events-and-filters)    | Issue update changed any of `stateId`, `assigneeId`, `labelIds`, `projectId`, `priority`, `title`, or `description`. |
| [`humanActorsOnly`](/docs/triggers/linear#events-and-filters)  | Require a human user actor; defaults to `false`.                                                                     |
| [`actorIds`](/docs/triggers/linear#events-and-filters)         | Require one of the selected actor IDs.                                                                               |
| [`keywords`](/docs/triggers/linear#events-and-filters)         | Match any case-insensitive substring in the issue title or description.                                              |
| [`mentionedUserIds`](/docs/triggers/linear#events-and-filters) | Match user IDs in Linear profile mention links in the issue text; plain names do not count.                          |

See [shared filter rules and aliases](/docs/triggers/linear#events-and-filters)
for snake_case spellings and how ID and name filters combine.

<Callout type="warning">
  Create filters are optional. Update requires `changedFields` or `addedLabelIds`. Change filters
  are supported only for `Issue/update`. `commands` is not supported for issue events.
</Callout>

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

## Event behavior [#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 [#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](/docs/triggers/linear) for setup and shared rules, and the
[Linear trigger schema](/schema/linear.json) for configuration fields.
