Project ManagementLinear

Linear Integration

Connect ProductBridge with Linear to track documentation tasks, link pages to issues, and keep your docs in sync with your development workflow.

curl -X POST https://api.productbridge.com/integrations/linear/webhook \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "event": "issue.linked",
    "issue_id": "DOC-42",
    "doc_id": "doc_789",
    "timestamp": "2025-03-10T14:00:00Z"
  }'
{
  "status": "ok",
  "message": "Webhook received",
  "linked": true
}

Overview

The Linear integration connects ProductBridge to your Linear workspace so you can link documentation pages to Linear issues, automate doc task creation, and keep your team aligned across both platforms.

You need workspace admin access in Linear to configure this integration.

Setup

Connect your Linear workspace

Navigate to Settings > Integrations > Linear in your ProductBridge dashboard.

Click Connect Linear and authorize ProductBridge via OAuth.

Linear's OAuth flow grants scoped access. ProductBridge only requests permissions for issues, comments, and webhooks.

Select your team

Choose the Linear team you want to sync with ProductBridge.

You can connect multiple teams and map each to a specific documentation section.

{
  "linear_team": "Documentation",
  "doc_section": "getting-started",
  "sync_enabled": true,
  "auto_create_issues": false
}

Configure sync settings

Choose which events trigger syncs between ProductBridge and Linear.

EventDirectionDescription
Issue createdLinear → ProductBridgeCreates a linked doc task
Doc publishedProductBridge → LinearMoves the linked issue to Done
Status changedLinear → ProductBridgeUpdates the doc task status
Comment addedBidirectionalSyncs comments between platforms

Linking docs to Linear issues

Link documentation pages to Linear issues for full traceability between your docs and development work.

Open a documentation page and click Link Issue in the sidebar.

Search by issue identifier (e.g., DOC-42) or title.

Linked: DOC-42 — Write onboarding guide
Status: In Progress
Assignee: Alex
Priority: High

Automations

Set up automations to reduce manual work when managing docs alongside Linear issues.

{
  "trigger": "doc.published",
  "action": "linear.create_issue",
  "config": {
    "team": "Documentation",
    "title": "Review: {doc_title}",
    "label": "review",
    "priority": 2
  }
}

Webhook events

ProductBridge sends webhook payloads for Linear-related events.