Factories > Integrations
Connect Linear to your factory
Connect Linear to your factory so planned issues flow in automatically and progress flows back to the issue.
Connect Linear to your factory so your team can send issues without leaving Linear. Assign an issue to the factory or tag it in a comment, and the factory picks it up with the issue’s full context, then keeps the issue updated as the work moves through its stages.
When the factory needs an answer, reply in Linear, or open the live run to steer the agent directly.
Prerequisites
Section titled “Prerequisites”- A factory with the agents and repositories needed for Linear work. See the Warp Factories quickstart.
- A Linear account that can authorize the Warp app for the workspace.
- A Warp account linked to your Linear user to start agent sessions.
- Repository access through the factory’s GitHub connection for code changes and pull requests.
For workspace-level installation, reconnection, and removal steps, see the Linear integration setup guide.
Permissions
Section titled “Permissions”Linear app authorization is separate from linking a teammate’s Warp account. With Linear’s actor=app authorization model, a workspace admin installs the app, and updates are attributed to the app rather than the installer.
The table lists the scopes in Warp’s staging configuration recorded on 2026-10-29, which uses actor=app. It describes that configuration, not production authorization or existing workspace grants. Review Linear’s consent screen before approving workspace access.
| Configured scope | Granted access | Function in Warp | Boundary |
|---|---|---|---|
app:assignable | Let the app be delegated issues and made a project member | Delegate work to the factory | Doesn’t grant repository access |
app:mentionable | Let the app be mentioned in issues, documents, and other editor surfaces | Start an agent session with a mention | Not itself a grant to edit those resources |
comments:create | Create issue comments | Acknowledge requests and post results | Narrower than the separately listed write scope |
issues:create | Create and update issues, and create their attachments | Create or update tracked work | Despite its name, this scope isn’t create-only |
read | Read data available to the app | Retrieve issue context and workspace metadata | Subject to the app’s team access in Linear |
write | Broad write access available to the app | Update issues, workflow state, and delegation | Broader than comment creation; trigger filters don’t narrow this grant |
These scope meanings follow Linear’s OAuth reference and app authentication model. A workspace admin can change or revoke the app’s team access in Linear. Selecting teams for a factory’s automations controls routing, not the underlying OAuth grant.
Connect Linear
Section titled “Connect Linear”You connect Linear either while creating a factory, at the Connect your issue trackers step, or afterward from the factory’s Settings. Either way you do the same two things:
- Authorize Warp for your Linear workspace. This is Linear’s own OAuth flow, and it’s only needed once per workspace.
- Choose which Linear teams trigger this factory.
Warp then adds a default automation that routes new agent sessions from those teams to your factory. Issue and comment activity doesn’t start work until you add triggers for it.
Route agent sessions
Section titled “Route agent sessions”If Warp can’t identify the session creator, Linear shows an authentication prompt instead of starting work.
When someone mentions, assigns, or delegates the Warp app on an issue, Linear starts an agent session. The default automation created when you connected Linear routes new sessions from your selected teams to the factory, so assigning an issue or tagging the factory in a comment is enough to start work. If a session doesn’t match any automation, the Linear integration handles it with its default behavior.
Replies in an existing session continue that run rather than starting a new one. To narrow which sessions reach the factory, such as by creator or keyword, edit the agent_session_created trigger in the factory’s definition files; session routing isn’t editable from the automation editor.
Configure Linear triggers
Section titled “Configure Linear triggers”Agent sessions cover explicit requests. To start work automatically from issue and comment activity too, add an automation with a Linear trigger for one of these events: Issue created, Issue labeled, Issue state changed, Issue assigned, or Comment created. To learn how to edit those filters, see Automations.
Available filters depend on the event. For example, issue triggers can select an assignee, while comment triggers can select a specific issue. Labels are case-insensitive names, not IDs.
For exact event strings, allowed keys, and value formats, see the Linear trigger reference, including separate examples for label intake and comment handling. An issue_labeled subscription doesn’t also subscribe to comment_created.
Supported events and outputs
Section titled “Supported events and outputs”Each event determines the context the agent receives and the updates the factory sends back.
| Linear event | What the agent receives | What the factory sends back |
|---|---|---|
| Issue created, labeled, state changed, or assigned | The issue’s title, description, team, project, labels, workflow state, and assignee | Work item progress, issue state or delegate changes, and links to results |
| Comment created | The new comment and its issue’s context | An acknowledgment, progress updates, and responses |
| Agent session created | The request that mentioned, assigned, or delegated the Warp app | Live progress in the session, plus links to the run and any pull request |
| Reply in an agent session | The new message and the session history | Continued work in the same session, not a separate work item |
Follow-up events on the same issue
Section titled “Follow-up events on the same issue”A matching comment can continue a work item associated with the same factory and issue. Without that association, fallback routing can start separate work. A label alone doesn’t establish run ownership. Native agent-session replies use a separate follow-up path; ordinary comments require a matching comment automation. See the start and continuation limits.
What the factory can do in Linear
Section titled “What the factory can do in Linear”In an agent session, the factory posts its plan, actions, and results as it works. It can also attach a GitHub pull request to the issue, update the issue’s workflow state or delegate, link back to the run, and acknowledge comments it acts on. Its own Linear activity never triggers automations, so a factory can’t set itself off in a loop.
Only agent sessions require a linked Warp account. Issue and comment events from unlinked users still start work, but Warp may not record who requested it.
Connecting Linear doesn’t grant repository access. Branches and pull requests use the factory’s code-host credentials, and the pull request still waits for a person to review and merge.
Troubleshooting
Section titled “Troubleshooting”- An agent session shows an authentication prompt - Complete the prompt to link your Linear user to your Warp account, then retry the request.
- Teams or filters don’t load - Reconnect Linear by following the Linear integration setup guide, then confirm the connection can access the workspace and team you expect.
- An event doesn’t start work - Confirm the automation is enabled, the event type matches, and every filter matches the issue’s current values or the state change.
- One action starts multiple runs - Look for overlapping agent-session and comment triggers, then narrow or remove one.
- No pull request appears - Check the factory’s code-host credentials and repository access. Linear authorization alone doesn’t allow code changes.
Related pages
Section titled “Related pages”- Permissions for factory integrations - Compare grants and review status across providers
- Linear integration - Install or remove the workspace app