# Linear

### BetterBugs integration with Linear

BetterBugs integrates with Linear in just a few minutes, allowing you to share all your issues directly with your Linear workspace. This eliminates the need for back-and-forth communication and follow-ups, streamlining your bug-reporting workflows.&#x20;

With BetterBugs, you can capture and share issues like a pro, providing your developers with all the details they need to debug faster, all through a simple link.

### How to Integrate BetterBugs Project with Linear: Step-by-Step

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBzBhuIUDDav7ztnadaoO%2Fuploads%2FEQ2eWcKvm4guRoTERpaa%2F01-Integrate-BetterBugs-with-Linear.mp4?alt=media&token=963b69ea-8f95-41b4-aec8-a380068c7d5f>" %}
How to Integrate BetterBugs Project with Linear: Video Demo
{% endembed %}

{% hint style="info" %}
Here, we've covered the steps to integrate a single BetterBugs project (within your BetterBugs Workspace) with Linear. You can also integrate the complete BetterBugs Workspace in one go (that includes all the projects within your Workspace) to Linear or any other project tool. [**Check out the steps for Workspace Integration**](https://docs.betterbugs.io/dashboard/workspace-settings/integrations/workspace-integration)**.**
{% endhint %}

{% stepper %}
{% step %}

#### Open Workspace Settings > Integrations

Click on BetterBugs Workspace name at the top left side of app screen. Now, click the **gear icon** to open **Workspace Settings** > **Integrations**.
{% endstep %}

{% step %}

#### Search Linear

In the **Integrations** tab, search for **Linear** and click to open the **Linear** card.
{% endstep %}

{% step %}

#### Turn off workspace-wide integration

Toggle off the "**All Projects**" option and hit "**Continue**". You should see the "**Manage per project**" option now.

{% hint style="info" %}
By default, its turned on for workspace level integration. For project-wise integration, you need to disable "**All Projects**".
{% endhint %}
{% endstep %}

{% step %}

#### Select a BetterBugs project to integrate and hit "Connect"

Select a project from the projects name list (that's within your Workspace). From the "**Actions**" column, hit "**Connect**" for that project.
{% endstep %}

{% step %}

#### **Authorize BetterBugs.io for Linear**

Hit “**Authorize**” to authorize BetterBugs.io for your Linear Workspace.

{% hint style="warning" %}
**IMPORTANT NOTE**&#x20;

If you're on a **free plan**, Steps 6 and 7 are **NOT REQUIRED**. **You can just SKIP** to "*How to Create Bug Report on Linear using BetterBugs*" section on this page.

**FOR PAID PLANS (Teams and Enterprise)**

Steps 6 and 7 enables you to explicitly choose between:

* **Manual Ticket Creation (Default)**: This means for sharing a bug report to Linear, you'd need to manually populate fields for your Linear project (**Team**, **Parent Issue**, **Priority**, and others). Its a **FREE FEATURE**.
* **Automatic Ticket Creation:** This means for sharing a bug report to Linear, you can configure BetterBugs to auto-populate fields for your Linear project (**Team**, **Parent Issue**, **Priority**, and others). Its a **PAID FEATURE**.
  {% endhint %}
  {% endstep %}

{% step %}

#### Optional: Choose your preferred method for creating tickets: Manually or Automatically

From the "**Forward Bug Reports**" dropdown, select your preferred method for creating tickets in your project tool:

* **Manually**: Enables you to **create tickets manually**. *Here, we've selected the manual method to showcase project integration steps.*
* **Automatically**: Enables you to [**create tickets with automation**](https://docs.betterbugs.io/dashboard/workspace-settings/integrations/project-integration/project-automation).
  {% endstep %}

{% step %}

#### Optional: Select "Manually" and Connect

Finally, select "**Manually**" from the "**Forward Bug Reports**" dropdown and hit "**Connect**".
{% endstep %}
{% endstepper %}

Okay! You're good to go with the Project level integration for your Linear app. Now, you can create detailed reports and share them as Linear issues directly from your browser with a few clicks.

### How to Create Bug Report on Linear using BetterBugs

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBzBhuIUDDav7ztnadaoO%2Fuploads%2FsJe3Y558OkjrqnGeQHfR%2F02-Create-Bug-Report-on-Linear-using-BetterBugs.mp4?alt=media&token=3b9dcac7-7d6b-4af9-9c4f-2135eb419ece>" %}
How to Create Bug Report on Linear using BetterBugs: Video Demo
{% endembed %}

{% stepper %}
{% step %}

#### Capture the Bug and Add Bug Details

Use the BetterBugs extension to capture the bug and add details for it. You can add the details (*Title + Quick Summary + Steps to Reproduce*) manually in the description area manually or automatically with the "**AI**" toggle.
{% endstep %}

{% step %}

#### Select BetterBugs Workspace and Project Integrated with Linear

From the two dropdowns above the description area, select:

* **BetterBugs Workspace**
* **BetterBugs Project** (that you integrated with Linear)
  {% endstep %}

{% step %}

#### Click "+ Send to your PM Tool" Dropdown and Select Linear Issue

Open "**+ Send to your PM Tool**" dropdown and select "**Linear Issue**".
{% endstep %}

{% step %}

#### **Populate Ticket Details for Linear and Hit "Next"**

Populate Linear Fields for the report: **Team**, **Project**, **Priority**, and **others** and click "**Next**".
{% endstep %}

{% step %}

#### Create Session

From the top right, click "**Create Session**".
{% endstep %}
{% endstepper %}

There you go!

A new tab with the Linear ticket opens up posting the task to the Linear project packed with all the bug details and a link to the **complete bug report** with [**developer tools info**](https://docs.betterbugs.io/product-features/developer-tools).

* Use the report link in your Linear ticket to access the complete report on BetterBugs.
* You can also access the Linear ticket from the BetterBugs report from the "[**Comments & Activities**](https://docs.betterbugs.io/product-features/comments-activities)" tab located below the bug description area.

### How to Send Existing BetterBugs Report to Linear

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBzBhuIUDDav7ztnadaoO%2Fuploads%2Fwwu9C1OSBvapHL7Fja91%2F03-Send-Existing-BetterBugs-Report-to-Linear.mp4?alt=media&token=762b5161-6097-4f01-b6b5-25d27d3f7d70>" %}
How to Send Existing BetterBugs Report to Linear: Video Demo
{% endembed %}

{% stepper %}
{% step %}

#### Open a Bug Report

Login to BetterBugs and open a project report to share on Linear.
{% endstep %}

{% step %}

#### Click "+ Send to your PM Tool" Dropdown and Select Linear Issue

From the top-right of the report screen, open "**+ Send to your PM Tool**" dropdown and select "**Linear Issue**".
{% endstep %}

{% step %}

#### Populate Ticket Details for Linear and Click "Create Task"

Populate Linear Fields for the report: **Team**, **Project**, **Priority**, and **others** and click "**Create Task**".
{% endstep %}
{% endstepper %}

Okay! You're all set. This instantly should create Linear ticket with the BetterBugs bug report.

### How to Disconnect BetterBugs Project from Linear

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBzBhuIUDDav7ztnadaoO%2Fuploads%2Fo8L8QVi3qkYcxNG4ZizJ%2F04-Disconnect-BetterBugs-Project-from-Linear.mp4?alt=media&token=8bfa5fb0-c528-424f-9822-bec6c0bced82>" %}
How to Disconnect BetterBugs Project from Linear: Video Demo
{% endembed %}

{% stepper %}
{% step %}

#### Open Project Settings

Use the **Gear Icon** beside the **BetterBugs Project** **Name** to open **Project Settings**.
{% endstep %}

{% step %}

#### Go to Workspace Settings > Integrations

Navigate to **Workspace Settings** > **Integrations**
{% endstep %}

{% step %}

#### Search Linear

In the **Integrations** tab, search for **Linear** and click to open the **Linear** card.
{% endstep %}

{% step %}

#### Select BetterBugs project to disconnect and click (⋮) under "Actions"

In the Linear card, select the BetterBugs project (from the Project list) to disconnect. For the project, click vertical dots (**⋮**) under the **Actions** column.
{% endstep %}

{% step %}

#### Disconnect and Confirm Action

To confirm action, click "**Disconnect**" and "**Continue**".
{% endstep %}
{% endstepper %}

This instantly disconnects Linear app from the selected BetterBugs project.
