Skip to content

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.

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

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.

  • A factory with the agents and repositories needed for Linear work. See the Warp Factories quickstart.
  • A Linear workspace admin to authorize the Warp app and permission to connect workspace integrations in Warp.
  • 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.

Authorize the workspace connection once, then select the Linear teams each factory handles. You don’t need a separate environment for factory routing.

  1. In the Warp Factories web app, open the top-level Integrations page and open Linear. If it already shows “Connected,” continue with factory team selection.
  2. Click Connect. In the Linear authorization tab, choose the intended workspace, review the requested access, and authorize Warp.
  3. Return to Warp and confirm Linear shows “Connected.” If it doesn’t, finish authorization in the Linear tab, then return to Warp again.
  4. Connect Linear to the factory and select the teams whose requests it handles. Workspace authorization alone doesn’t select those teams.

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 scopeGranted accessFunction in WarpBoundary
app:assignableLet the app be delegated issues and made a project memberDelegate work to the factoryDoesn’t grant repository access
app:mentionableLet the app be mentioned in issues, documents, and other editor surfacesStart an agent session with a mentionNot itself a grant to edit those resources
comments:createCreate issue commentsAcknowledge requests and post resultsNarrower than the separately listed write scope
issues:createCreate and update issues, and create their attachmentsCreate or update tracked workDespite its name, this scope isn’t create-only
readRead data available to the appRetrieve issue context and workspace metadataSubject to the app’s team access in Linear
writeBroad write access available to the appUpdate issues, workflow state, and delegationBroader 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.

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:

  1. Authorize Warp for your Linear workspace if it isn’t already connected.
  2. In the factory’s Settings > Integrations, connect Linear, select the Linear teams this factory handles, then click Enable. During factory creation, select those teams before finishing setup.

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.

If Warp can’t identify the session creator, Linear shows an authentication prompt instead of starting work. Complete that prompt with your own Warp account, then retry the request.

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 standalone Linear integration handles it with its default behavior.

Test routing on an issue in a selected team: mention Warp with “Summarize this issue without changing it.” Confirm the run appears under the factory’s matching automation and the summary returns in the Linear session.

A Linear issue with a comment mentioning the Warp app to request a tech spec, which starts an agent session.

Mentioning the Warp app in an issue comment starts an agent session.

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.

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.

Each event determines the context the agent receives and the updates the factory sends back.

Linear eventWhat the agent receivesWhat the factory sends back
Issue created, labeled, state changed, or assignedThe issue’s title, description, team, project, labels, workflow state, and assigneeWork item progress, issue state or delegate changes, and links to results
Comment createdThe new comment and its issue’s contextAn acknowledgment, progress updates, and responses
Agent session createdThe request that mentioned, assigned, or delegated the Warp appLive progress in the session, plus links to the run and any pull request
Reply in an agent sessionThe new message and the session historyContinued work in the same session, not a separate work item

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.

For a label-started run, verify reply delivery:

  1. Apply your intake label to a test issue. Open the resulting run in the factory dashboard.
  2. When the agent asks a question and waits, have a teammate answer on the issue.
  3. Check the original conversation for the answer. If it’s missing, forward it below.

Export a Warp API key authorized for the run as WARP_API_KEY. Factory follow-up restrictions still apply.

  1. In the factory dashboard, copy the ID from the original run’s details, not the issue, Linear session, or work item ID. Replace WAITING_RUN_ID below.

    Terminal window
    RUN_ID=WAITING_RUN_ID
    curl --fail-with-body \
    "https://app.warp.dev/api/v1/agent/runs/${RUN_ID}" \
    --header "Authorization: Bearer ${WARP_API_KEY}"

    Confirm the returned details identify the run that asked the question.

  2. Send the answer in message. Replace the sample answer and comment URL.

    Terminal window
    curl --fail-with-body --request POST \
    "https://app.warp.dev/api/v1/agent/runs/${RUN_ID}/followups" \
    --header "Authorization: Bearer ${WARP_API_KEY}" \
    --header "Content-Type: application/json" \
    --data '{"message":"Answer for ENG-42: use the existing API, not a new endpoint. Source: https://linear.app/YOUR_WORKSPACE/issue/ENG-42#COMMENT_ID. Continue from the question you asked."}'
  3. Check the original conversation for the answer and continued work. HTTP 200 means accepted, not acted on. See the follow-up API reference for delivery outcomes.

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.

If the workspace connection is no longer authorized, an admin repeats the workspace installation procedure from Connect. Confirm the expected Linear workspace and team access on the consent screen.

If Warp still shows “Connected” but teams don’t load, first check the app’s team access in Linear and reload Warp. Don’t remove a working workspace connection to change one factory’s team selection. If the connection must be replaced, remove it, then authorize it again; this interrupts every factory using that workspace connection.

After reconnecting, open the factory’s Settings, click Integrations, and confirm the intended teams are still selected. Repeat the routing test. Reauthorization doesn’t prove a factory’s automation filters match.

Removing the shared connection affects every factory using it, not just the factory you are viewing. You need permission to manage workspace integrations.

  1. In the Warp Factories web app, open the top-level Integrations page and open Linear.
  2. Click Remove Linear, review the scope in the confirmation, then click Delete.
  3. Confirm Warp reports that the Linear integration was removed and the connection no longer shows “Connected.”

This removes Warp’s workspace connection. It doesn’t uninstall the app in Linear or disconnect personal accounts. To revoke the provider grant too, a Linear admin removes Warp’s access in Linear; see the shared Linear uninstallation instructions. No factory can route new work through a removed connection. Reconnecting requires authorization and a routing test; don’t assume removal resets factory definitions.

  • 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 - Follow Reconnect Linear, 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.
  • A reply doesn’t resume a waiting run - Check delivery and forward the answer. A comment trigger doesn’t associate a label-started run with the issue.
  • No pull request appears - Check the factory’s code-host credentials and repository access. Linear authorization alone doesn’t allow code changes.