> ## Documentation Index
> Fetch the complete documentation index at: https://graphite-58cc94ce.mintlify.site/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Linear

> Learn how to integrate Graphite with Linear to view, link, and create issues associated with pull requests.

<img src="https://mintcdn.com/graphite-58cc94ce/v5snjlX4njZhFyeg/images/d9e64d62-1741191316-browser-window.png?fit=max&auto=format&n=v5snjlX4njZhFyeg&q=85&s=5bce2bc3ccb2652d0f15a46d13ae4b03" width="832" height="665" data-path="images/d9e64d62-1741191316-browser-window.png" />

With Graphite's Linear integration you can view, link, and create issues associated with pull requests right from the Graphite web app.

### Prerequisites

* A Linear account
* A Graphite Team or Enterprise plan

## Connect Linear

Connect your Linear account directly from the [*Connected accounts* settings page](https://app.graphite.com/settings/connected-accounts) on the Graphite app.

<Frame caption="">
  <img src="https://mintcdn.com/graphite-58cc94ce/vY1t0Vsr-LRJgMIn/images/4c705623-1741213051-frame-10124206-1.png?fit=max&auto=format&n=vY1t0Vsr-LRJgMIn&q=85&s=87d7ee43435dd335a6cd61c6ec13c386" width="760" height="270" data-path="images/4c705623-1741213051-frame-10124206-1.png" />
</Frame>

After clicking the `Connect` button you will be directed to Linear to finish the integration setup process.

<Frame caption="">
  <img src="https://mintcdn.com/graphite-58cc94ce/v5snjlX4njZhFyeg/images/b081be25-1741213061-frame-10124207-1.png?fit=max&auto=format&n=v5snjlX4njZhFyeg&q=85&s=9b7855bdff4813d6009eecb74ed16835" width="760" height="270" data-path="images/b081be25-1741213061-frame-10124207-1.png" />
</Frame>

Once the integration is successfully configured, you should see confirmation on the **Connected accounts** settings page.

## Using the Linear integration on the PR page

After you've installed the integration, you can will then be able to view any associated Linear issues in the sidebar of the **Pull Request** page.

<Frame caption="">
  <img src="https://mintcdn.com/graphite-58cc94ce/v5snjlX4njZhFyeg/images/eb0e2cd1-1741211170-frame-10123871.png?fit=max&auto=format&n=v5snjlX4njZhFyeg&q=85&s=ff754f55294cbf587c0fa89adcf71967" width="1304" height="822" data-path="images/eb0e2cd1-1741211170-frame-10123871.png" />
</Frame>

### Linking an existing issue

To link a Linear issue to a pull request, click the **+** symbol located in the issue tracker sidebar component.

<Frame caption="">
  <img src="https://mintcdn.com/graphite-58cc94ce/v5snjlX4njZhFyeg/images/83650d6a-1741211386-link-issue-popout.png?fit=max&auto=format&n=v5snjlX4njZhFyeg&q=85&s=8ba352d18dd62252c905a9fecdd7c660" width="1406" height="1000" data-path="images/83650d6a-1741211386-link-issue-popout.png" />
</Frame>

From here you can:

* Search for a Linear Issue by name

* \[OR] Paste a Linear Issue URL

### Creating a new Linear Issue from PR page

To create and link a new Linear Issue from the Pull Request page, you can click `Create new issue` in the issue tracker sidebar component.

<Frame caption="">
  <img src="https://mintcdn.com/graphite-58cc94ce/v5snjlX4njZhFyeg/images/c3fa9d75-1741211806-create-modal-1.png?fit=max&auto=format&n=v5snjlX4njZhFyeg&q=85&s=3a1e55684fe6c1f02aedf5518aa89cf7" width="1648" height="1000" data-path="images/c3fa9d75-1741211806-create-modal-1.png" />
</Frame>

From here you can assign a *Team, Title, Description, Status, and Priority*. Once you click `Create issue`. The issue will be created in Linear, and will be linked to the current pull request.
