Bidirectional Sync

Bidirectional sync keeps PagerDuty incidents and Linear issues synchronized in both directions—changes in either system automatically update the other. This ensures your team always has the most current information regardless of which tool they're using.

How Bidirectional Sync Works

Integration Hub maintains synchronization through webhooks in both systems:

PagerDuty to Linear Sync

When you take action in PagerDuty, Integration Hub automatically updates the corresponding Linear issue.

Automatic PagerDuty Webhooks

When you create a rule in Integration Hub, a PagerDuty webhook is automatically created for the selected service. You don't need to manually configure anything in PagerDuty—Integration Hub handles this for you.

Automatic Setup: Each PagerDuty service gets one webhook that monitors all incidents for that service. If you create multiple rules using the same service, they all share the same webhook.

Status Updates

PagerDuty Action Linear Update Rule Configuration
Acknowledge Incident Issue moves to your configured "Acknowledged" status Set in rule's "Acknowledged Status" field
Resolve Incident Issue moves to your configured "Resolved" status Set in rule's "Resolved Status" field
Acknowledging incident syncs to Linear

Example: Acknowledging incident moves Linear issue to "In Progress"

Comment Synchronization

Notes added to PagerDuty incidents are automatically synced as comments on the corresponding Linear issue:

PagerDuty note syncs to Linear comment

Example: PagerDuty note appears as Linear comment

Use Case: On-call responders can document their investigation and resolution steps in PagerDuty, and the entire team sees this context in Linear without switching tools.

Linear to PagerDuty Sync

Changes in Linear also update PagerDuty incidents automatically.

Status Type: Completed and Canceled

When a Linear issue is moved to a status with type "Completed" or "Canceled", the corresponding PagerDuty incident is automatically resolved.

Important: Only Linear status types of "Completed" or "Canceled" will resolve PagerDuty incidents. Moving an issue to other status types (like "Started" or "Unstarted") will NOT resolve the incident.
Linear Action PagerDuty Update
Mark issue as "Done" (type: Completed) Incident automatically resolved
Mark issue as "Canceled" (type: Canceled) Incident automatically resolved
Move to "In Progress" (type: Started) No change to incident
Move to "Backlog" (type: Backlog) No change to incident
Linear issue marked done resolves PagerDuty incident

Example: Marking Linear issue as "Done" resolves PagerDuty incident

Understanding Linear Status Types

Linear organizes workflow statuses into types. Here's how they map:

Status Type Example Statuses Resolves Incident?
Triage Triage No
Backlog Backlog, Planned No
Unstarted Todo, Ready, Next Up No
Started In Progress, In Review No
Completed Done, Resolved, Fixed Yes
Canceled Canceled, Closed, Duplicate Yes
Tip: You can check a status's type in Linear by going to Settings → Workflow States. Each status shows its type.

Sync Timing and Reliability

Real-Time Updates

Both systems use webhooks for near-real-time synchronization:

Conflict Resolution

Integration Hub handles simultaneous changes in both systems:

What Gets Synced vs. What Doesn't

Synced Data

Data Type PagerDuty → Linear Linear → PagerDuty
Status ✓ Ack/Resolve updates issue status ✓ Completed/Canceled resolves incident
Notes/Comments ✓ Notes sync as comments ✗ Comments don't sync to notes
Initial Incident ✗ Can't create issues from incidents ✓ Issues create incidents (via rules)

Not Synced

The following data does NOT sync between systems:

Sync Flow Examples

Example 1: Complete Incident Lifecycle

  1. Engineer creates urgent bug in Linear
    • Linear webhook fires
    • Integration Hub evaluates rules
    • Rule matches (Urgent priority, Triage status)
  2. Integration Hub creates PagerDuty incident
    • High-urgency incident created
    • On-call responder paged
    • Incident includes link to Linear issue
  3. On-call responder acknowledges incident in PagerDuty
    • PagerDuty webhook fires
    • Integration Hub updates Linear issue
    • Linear issue moves to "In Progress" status
  4. Responder adds notes in PagerDuty
    • Each note syncs as a comment in Linear
    • Team sees investigation progress
  5. Responder resolves incident in PagerDuty
    • PagerDuty webhook fires
    • Integration Hub updates Linear issue
    • Linear issue moves to "Done" status
Complete bidirectional sync flow

Diagram: Complete incident lifecycle with bidirectional sync

Example 2: Linear-First Resolution

  1. Bug reported in Linear, incident created in PagerDuty
    • Engineer on-call gets paged
  2. Engineer acknowledges incident in PagerDuty
    • Linear issue moves to "In Progress"
  3. Engineer fixes bug and marks Linear issue as "Done"
    • Linear webhook fires (status changed to Completed type)
    • Integration Hub resolves PagerDuty incident automatically
Benefit: Engineers can work in their preferred tool (Linear) while PagerDuty stays in sync automatically. No need to remember to resolve incidents separately.

Monitoring Sync Health

Webhook Status

Check webhook health regularly:

Sync Verification

To verify sync is working:

  1. Create a test issue in Linear that matches your rule criteria
  2. Verify incident is created in PagerDuty
  3. Acknowledge the incident in PagerDuty
  4. Check that Linear issue status updated
  5. Add a note in PagerDuty
  6. Check that comment appears in Linear
  7. Mark Linear issue as "Done"
  8. Verify PagerDuty incident is resolved

Troubleshooting Bidirectional Sync

Status Updates Not Syncing from PagerDuty

Problem: Acknowledging/resolving in PagerDuty doesn't update Linear

Solution:

Comments Not Syncing

Problem: PagerDuty notes aren't appearing as Linear comments

Solution:

Linear "Done" Not Resolving Incident

Problem: Marking Linear issue as done doesn't resolve PagerDuty incident

Solution:

Sync Delays

Problem: Sync takes longer than expected

Solution:

Best Practices

Status Mapping Strategy

Communication

Testing

Next Steps

Quick Reference

Bidirectional Sync Summary:

  • PagerDuty → Linear: Acknowledge/Resolve updates issue status, Notes sync as comments
  • Linear → PagerDuty: Completed/Canceled status types resolve incidents
  • Automatic Webhooks: PagerDuty webhooks created automatically per service
  • Real-Time: Sync typically happens within 1-5 seconds
  • One-Way: Linear comments don't sync to PagerDuty, assignments don't sync