UserHero Docs
Sync Adapters

Linear

Two-way sync between UserHero workflows and Linear teams

Linear Integration

The Linear sync adapter provides full two-way synchronization between UserHero workflows and Linear teams. Push workflow items to Linear as issues, and receive status updates back through webhooks.

Prerequisites

  • A UserHero project on the Growth, Pro, or Pro Max plan
  • A Linear workspace with admin or member access
  • At least one workflow created in your project

Setup

1. Connect Linear

  1. Go to your project SettingsSync Adapters
  2. Click Add AdapterLinear
  3. You'll be redirected to Linear's OAuth consent page
  4. Authorize UserHero to access your Linear workspace
  5. You'll be redirected back to UserHero

2. Select a Team

After authorization, choose which Linear team to sync with:

  1. Select a team from the dropdown (shows all teams in your Linear workspace)
  2. Click Confirm

Each sync adapter instance connects one UserHero workflow to one Linear team.

3. Configure Status Mapping

Map your workflow statuses to Linear statuses. The defaults depend on your workflow type:

Issues workflow → Linear:

UserHero StatusLinear Status
OpenBacklog
In ProgressStarted
ResolvedCompleted
ClosedCanceled

Tickets workflow → Linear:

UserHero StatusLinear Status
NewBacklog
Awaiting ResponseBacklog
In ProgressStarted
ResolvedCompleted
ClosedCanceled

Leads workflow → Linear:

UserHero StatusLinear Status
NewBacklog
ContactedStarted
QualifiedStarted
ProposalStarted
WonCompleted
LostCanceled

You can customize these mappings to match your team's Linear workflow states.

4. Priority Mapping

Priority mapping is automatic:

UserHeroLinearLinear Value
LowLow4
MediumMedium3
HighHigh2
UrgentUrgent1

Pushing Items to Linear

Once configured, push a workflow item to Linear:

  1. Open a workflow item
  2. Click Push to Linear
  3. A Linear issue is created in the connected team
  4. The item's detail view shows an External Reference with a direct link to the Linear issue

The created Linear issue includes:

  • Title from the workflow item
  • Description from the workflow item
  • Status mapped from the workflow status
  • Priority mapped from the workflow priority

Inbound Sync (Webhooks)

Linear sends webhook events when issues are updated. UserHero processes these to keep your workflow items in sync:

What syncs back

Linear ChangeUserHero Update
Status changedWorkflow item status updated (via reverse mapping)
Priority changedWorkflow item priority updated
Assignee changedLogged in activity

Webhook setup

The webhook is configured automatically during the OAuth setup. UserHero registers a webhook URL with Linear that listens for issue update events on the connected team.

If you disconnect and reconnect the adapter, the webhook is re-registered automatically.

Managing the Adapter

Viewing Sync Status

Each synced item shows its sync status in the detail view:

  • Synced — External issue exists and is linked
  • Sync Error — Last push or pull failed (hover for details)
  • Not Synced — Item hasn't been pushed yet

Disconnecting

  1. Go to project SettingsSync Adapters
  2. Find the Linear adapter
  3. Click Disconnect

Disconnecting removes the OAuth token and webhook. Existing external references on workflow items are preserved (the links still work), but no further syncing occurs.

Reconnecting

You can reconnect anytime by going through the setup flow again. If the same team is selected, existing external references will resume syncing.

Troubleshooting

ProblemSolution
Push fails with "unauthorized"Reconnect the adapter — your OAuth token may have expired
Status not syncing backCheck that the webhook is active in Linear Settings → API → Webhooks
Wrong status mappingEdit the adapter's status mapping in project Settings
Items created in wrong teamCheck which team is selected in the adapter config

Next Steps

On this page