> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rootly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Linear Integration

> Sync Rootly incidents to Linear issues for seamless issue tracking, follow-up management, and engineering context from incident response to delivery.

Rootly's Linear integration connects your incident workflow to Linear. When an incident is declared, a Linear issue is automatically created. As the incident progresses, the issue stays in sync. When resolved, the Linear issue moves to Done.

Follow-up action items become Linear sub-issues under the parent incident issue, keeping post-incident work organized in one place.

## What You Can Do

> [card] Incidents → Linear Issues
>
> Automatically create a Linear issue when an incident is declared, with title, description, severity, and assignee populated from incident data

> [card] Action Items → Sub-Issues
>
> Every follow-up action item created during an incident becomes a Linear sub-issue under the parent incident issue

> [card] Status Sync
>
> When an incident resolves in Rootly, the linked Linear issue automatically moves to Done

> [card] On-Call → Triage
>
> Connect Rootly on-call schedules to Linear's Triage Responsibility so new issues auto-assign to whoever is on call

## How It Works

**1. Incident declared**

An incident is created in Rootly, either manually or via an alert from PagerDuty, Datadog, or another source.

**2. Workflow runs**

Your configured workflow fires and creates a Linear issue in the specified team and project, with fields populated from incident data.

**3. Issue linked**

The Linear issue URL is automatically attached to the incident in Rootly. Teams can navigate between both systems.

**4. Updates flow**

As the incident progresses, action items become sub-issues. When the incident resolves, the Linear issue status updates automatically.

Connecting Linear to Rootly is a one-time OAuth setup that takes a few minutes. Once complete, Rootly can create and update Linear issues on your behalf as incidents move through their lifecycle — no manual copy-pasting between tools.

[https://www.loom.com/embed/67c8a1aaf8f94d09862f97431a957e11?sid=db43a871-892d-4e95-95a4-531967410f42](https://www.loom.com/embed/67c8a1aaf8f94d09862f97431a957e11?sid=db43a871-892d-4e95-95a4-531967410f42)

## Before You Begin

This setup involves authorizing Rootly inside your Linear workspace. Make sure you have the right access in both systems before starting — the OAuth flow will fail silently if your Linear account doesn't have the correct permissions.

> [!WARNING]
>
> You need:
>
> * **Rootly:** Admin or Owner role to create and manage integrations
> * **Linear:** Membership in at least one team with write permissions — read-only roles cannot create issues

## Installation

The connection is established through Linear's OAuth flow — Rootly redirects you to Linear, you approve access, and you're brought back to Rootly with the integration active. You won't need to handle any API keys or tokens manually.

**1. Open Rootly Integrations**

Navigate to **Settings → Integrations** in your Rootly dashboard. This is where all third-party integrations are managed.

![Rootly sidebar showing Configuration and Integrations menu](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-1.1.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=af4c63d3119f3fe87707a1c1651a6b02)

**2. Find Linear and click Setup**

Search for **Linear** in the integrations catalog and click **Setup** to begin the OAuth authorization flow.

![Integrations page with Linear search result](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-1.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=3ad74e357ad950a0b7d0eba978e9a76e)

**3. Authorize Rootly in Linear**

You'll be redirected to Linear's authorization page. Review the requested permissions — Rootly needs write access to create and update issues on your behalf. Click **Allow Access** to proceed.

![Linear OAuth authorization page](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-2.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=8ac53c3dbe1d06536251a137f53d0c08)

**4. Select your workspace**

If you belong to multiple Linear workspaces, choose the one you want to connect to Rootly and click **Authorize**. You can only connect one workspace per Rootly account.

![Linear workspace selection screen](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-3.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=72359f17101e1b87760387709461277a)

**5. Confirm the connection**

You'll be redirected back to Rootly and see a confirmation: *"Great! We've added that Linear account to your Rootly account!"* The integration is now active.

![Rootly confirmation showing Linear connected successfully](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-4.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=d46875e5e258bdc3d7ac3f756cbea90e)

> [!TIP]
>
> Linear is now connected. The [workflow actions](#workflow-actions) below configure automated issue creation for your incidents.

## Verify the Connection

Once connected, it's worth confirming the integration is active on both sides before building workflows.

**In Rootly:** The integration should show **Connected** status on the Integrations page.

**In Linear:** Open your workspace menu, go to **Settings → Integrations**, and confirm Rootly appears in your connected apps list. If it's missing, the OAuth flow may not have completed successfully — try reconnecting.

![Linear workspace settings menu](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-5.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=04b3ec98a599f8bd0ba2ca442a034ae6)

![Linear integrations list showing Rootly connected](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-6.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=48fe983d02a3cf08b70fe1cd45dc4907)

![Rootly listed as a connected app in Linear](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/installation/image-7.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=41852993f76cce0290fd3b6c60bf9e17)

Once Linear is connected, you configure workflows that automatically create and update Linear issues as incidents move through their lifecycle. This page covers the three main workflow actions — creating issues, updating them, and creating sub-issues for action items — as well as setting up Triage Responsibility to keep your Linear queue synced with whoever is on call.

## Workflow Actions

### Create a Linear Issue

This is the core workflow: whenever an incident is declared in Rootly, a corresponding Linear issue is created automatically with incident data populated into the fields you configure.

**1. Open Workflows and create a new workflow**

Go to **Rootly → Workflows → Create Workflow**.

![Rootly Workflows page](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-1.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=fd571652b39bbc356922ab669e86d8ec)

![Create Workflow button](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-2.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=ff3ca4ecb0e89ad177d35ddbae2d7a5e)

**2. Choose a workflow type**

Select the event type that should trigger this workflow — for example, **Incident**, **Retrospective**, or **Pulse**.

![Workflow type selection showing Incident, Retrospective, and Pulse options](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-3.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=66856627743afaf6462232d22412b3cd)

**3. Configure triggers**

Triggers define when this workflow fires. Choose the event that should kick off Linear issue creation.

![Workflow trigger configuration options](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-triggers.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=d068ff78ad702841b5f26a43b8b10c82)

| Trigger | When It Fires |
| - | - |
| **Incident Created** | A new incident opens |
| **Incident Updated** | Severity, status, or other fields change |
| **Incident Commander Assigned** | Someone takes ownership of the incident |
| **Manual Trigger** | Run on demand from the Rootly UI |

**4. Add conditions (optional)**

Conditions let you filter which incidents trigger the workflow — for example, only SEV-1 incidents, only specific teams, or only production environments.

![Workflow conditions panel showing filter options](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-condition.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=fd22712ae704cd8db60c406457c21a00)

**5. Add a Linear action**

Click **Add Action**, search for **Linear**, and select **Create Linear Issue**.

![Add Action button with Linear search](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-4.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=ef71434d2e9cd8e24c26da9ab464b77e)

![Linear action picker showing Create Linear Issue option](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-5.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=d2f64b294b2b8b98b3af8c20a04128c9)

![Create Linear Issue action configuration panel](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-6.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=e2dd804a146a554cbbfe22f3767b0e71)

**6. Configure the action fields**

Fill in the fields to control how the Linear issue is created:

**Team** `required`

The Linear team where the issue will be created.

**State** `string`

The initial workflow state for the issue — for example, **Todo** or **In Progress**.

**Project** `string`

Optional. Associate the issue with a specific Linear project.

**Labels** `array`

Add labels to the issue for filtering and triage.

**Title** `string`

The issue title. Supports Liquid — use `{{ incident.title }}` to default to the incident title.

**Description** `string`

The issue body. Supports Liquid — use `{{ incident.summary }}` to populate with the incident summary.

**Priority** `string`

The issue priority. Select **Auto** to automatically map incident severity to a corresponding Linear priority, or choose **Urgent**, **High**, **Medium**, or **Low** manually.

**Assignee** `string`

Email address of the Linear user to assign the issue to.

**Custom fields mapping** `string`

Optional. Map Linear custom fields using JSON. Values support Liquid, so you can populate Linear fields from Rootly context — in an [action item workflow](https://docs.rootly.com/workflows/action-item-workflows.md), reference the follow-up's [custom field values](https://docs.rootly.com/incidents/action-items/action-item-custom-fields.md):

```json theme={null}
{"customFieldKey": "{{ action_item.custom_fields_by_slug.your-field-slug }}"}
```

**7. Save the workflow**

Click **Add**, give your workflow a name, and click **Create Workflow**.

### Update a Linear Issue

Use the **Update Linear Issue** action to keep the Linear issue in sync as the incident progresses — for example, moving it to Done when the incident resolves, or updating priority when severity changes.

> [!WARNING]
>
> Create a **separate workflow** for updates. Do not add the Update action to your Create workflow — they need to trigger on different events.

Configure the action with:

**Linear Issue ID** `string`

Use `{{ incident.linear_issue_id }}` to reference the issue that was created when the incident was declared.

**Custom fields mapping** `string`

Optional. JSON mapping of Linear custom fields, with Liquid support — same format as on the Create Linear Issue action.

Common use cases:

* Move to **Done** when the incident is resolved
* Update **priority** when severity escalates
* Change **assignee** as ownership transfers
* Sync a follow-up's [custom field values](https://docs.rootly.com/incidents/action-items/action-item-custom-fields.md) into Linear custom fields (in action item workflows, via `{{ action_item.custom_fields_by_slug.your-field-slug }}`)

### Create Linear Sub-Issues

To track action items as Linear sub-issues, create a separate workflow triggered by **Action Item Created** and use the **Create Linear Sub-Issue** action.

**Parent Issue** `string`

Use `{{ incident.linear_issue_id }}` to nest the sub-issue under the parent incident issue.

**Title** `string`

Use `{{ action_item.summary }}` to populate the sub-issue title from the action item.

The Create Linear Sub-Issue action also supports the **Custom fields mapping** input described above, so sub-issues can carry the action item's [custom field values](https://docs.rootly.com/incidents/action-items/action-item-custom-fields.md) into Linear.

This keeps all follow-up work organized under the parent incident issue in Linear.

***

### Triage Responsibility

Connect Linear's [Triage Responsibility](https://linear.app/docs/triage#triage-responsibility) feature to your Rootly on-call schedules so new Linear issues are automatically assigned to whoever is currently on call. This keeps your triage queue aligned with your incident response rotation.

**1. Create a schedule in Rootly**

Go to **Schedules** and click **Create Schedule**.

![Rootly Schedules page](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-7.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=840735b3d19ef7c0d410631303a2d552)

![Create Schedule button](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-8.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=5487a813cb5eb7b32191467b1eb812ea)

**2. Enable Linear sync on the schedule**

In the **Integrations** tab, toggle on **Sync with Linear**.

![Integrations tab in schedule creation](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-9.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=5c754686d7416cbd47220ec91de23121)

![Sync with Linear toggle enabled](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-10.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=ddfceafa66c801f0607dfdd37d9f903c)

**3. Configure and save the schedule**

Give the schedule a name, add members, and click **Save**.

![Schedule name and members configuration](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-11.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=f56632e20c259a90abea913143e3641a)

![Add members to the schedule](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-12.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=f718bd4eeffa9fd3e3124aa34d9e46cb)

**4. Open your team settings in Linear**

In Linear, navigate to **Settings → Teams** and select the team you want to configure.

![Linear Settings menu](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-12.1.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=01d0c9cb8d8f6e19b754f5ccb8d1b886)

![Linear Teams section in administration](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-13.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=c29916165d0c09485045d0ed73518ada)

![Team selection in Linear settings](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-14.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=c5c504b390cacbe50c0b9d73667b72cb)

**5. Set Triage Responsibility to your Rootly schedule**

Under **Workflow → Triage**, find **Triage responsibility** and select **Use schedule**. Choose the Rootly schedule you just created.

![Workflow Triage settings in Linear](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-15.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=2584e2a3bab641dc5fecabe065b4fb9c)

![Triage responsibility assignment settings](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-16.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=07265e3a5ca9fbae3a5888b38c9a9b53)

![Rootly schedule selected for triage responsibility](https://mintcdn.com/rootly/OenEeqU87ULdARbO/images/integrations/linear/workflows/image-17.png?fit=max\&auto=format\&n=OenEeqU87ULdARbO\&q=85\&s=98df7f81c9e7e70ff927d34b5e70f18e)

> [!TIP]
>
> New Linear issues in triage will now be automatically assigned to whoever is on call in Rootly — no manual triage queue management needed.

## Troubleshooting

> [accordion] Rootly not appearing in Linear integrations
>
> Confirm you completed the OAuth flow and granted Rootly access to your workspace. In Linear, go to **Settings → Integrations** and verify Rootly is listed and enabled. If it's missing or showing an error, disconnect the integration in Rootly and reconnect from scratch — the OAuth token may have expired or been revoked.

> [accordion] No teams or projects available during setup
>
> You must be a member of at least one Linear team with write permissions — read-only roles won't allow issue creation. If your workspace uses restricted teams, a Linear admin needs to add you before you can proceed. After your permissions are updated, restart the authorization flow so Linear returns the correct team list.

***

## Uninstall

To remove the Linear integration, go to **Settings → Integrations**, find **Linear**, and click the **Connected** button to reveal the disconnect option.

![Click the Connected button to reveal the Disconnect option](https://mintcdn.com/rootly/QMD-dNqeYW4BA9dg/images/integrations/common/uninstall-connected.png?fit=max\&auto=format\&n=QMD-dNqeYW4BA9dg\&q=85\&s=dbb790e2576c8969bba96bc26c95265f)

> [!WARNING]
>
> Disconnecting stops all Linear-related workflows from running. Existing Linear issues created by Rootly are not affected.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.