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

# Troubleshoot Linear

> Fix connect errors, a stopped Linear access, an import that waits or fails, a workspace that sees no Linear data, and pull requests that do not show on the roadmap.

## Connect errors

When a connect does not finish, Agent Golf shows **Linear Is Not Connected** with one of these messages. Select **Back to Settings** to connect again.

| Message | Cause and fix |
| - | - |
| "Linear did not finish the install. A Linear admin must approve the install of Agent Golf. Ask a Linear admin to connect Linear, or to approve the install, and then connect again." | Linear did not approve the install, for example because you are not a Linear admin or you canceled it. Ask a Linear admin to connect Linear, or to approve the install. Then connect again. |
| "This browser tab did not start the Linear install. Connect Linear again from the settings." | You finished the install in another browser tab or browser, or you reloaded the page after the connect. Connect again from the Linear page, and finish in the same tab. |
| "The Linear install expired or was already used. Connect Linear again." | More than 10 minutes passed before you approved the install, or Agent Golf already used this install. Connect again. |
| "Linear refused the install. Connect Linear again." | Linear did not accept the install. Connect again. |
| "Another Agent Golf organization already connected this Linear workspace. It must disconnect Linear before you can connect it here." | One Linear workspace connects to one Agent Golf organization at a time. Ask an admin of the other organization to disconnect it. See [One Linear workspace, one organization](https://docs.agent.golf/linear/connect.md#one-linear-workspace-one-organization). |
| "The Linear install is for a different Linear workspace. Agent Golf did not change the connection. Reconnect, and choose the Linear workspace of this connection in Linear." | At a reconnect, you approved the install for another Linear workspace. Reconnect, and choose the Linear workspace of this connection in Linear. |
| "Agent Golf is still disconnecting this Linear workspace. Try again in a few minutes." | A deletion of the imported data, or the deletion of its organization, still runs. Wait, then connect again. |
| "Linear did not answer. Try again in a few minutes." or "Agent Golf cannot reach Linear now. Try again in a few minutes." | A temporary failure. Try again in a few minutes. |
| "You do not have the permission to connect Linear here." | You need **Manage Organization Integrations** in the organization. Ask an organization admin. |
| "Agent Golf could not connect Linear. Connect Linear again." | Another failure. Connect again. |

If **Connect Linear** shows "Agent Golf could not start the Linear install. Try again.", the install did not open. Try again.

## The import waits for its choice

The Linear page shows "Agent Golf imports nothing from Linear until you choose what to import." Agent Golf imports nothing, and ignores the changes in Linear, until an admin chooses. Select **Choose Import**, choose, and select **Start Import**. See [Choose the import](https://docs.agent.golf/linear/connect.md#choose-the-import).

Users who cannot manage the connection see "Agent Golf imports nothing from Linear until an admin chooses what to import." Ask an organization admin.

If **Choose What to Import** shows "Linear gave Agent Golf no team", the Linear app can read no team. In Linear, open **Settings > Applications > Agent Golf**, and give the app access to the teams that Agent Golf must import under **Team access**. See [Change the teams of the app](https://docs.agent.golf/linear/connect.md#change-the-teams-of-the-app). Then open the Linear page again.

## A workspace sees no Linear data

In the workspace, **Settings > Integrations > Linear** shows "No team. Agent Golf imports no Linear team." Each workspace of the organization sees every imported team, so no team is imported. An organization admin opens **Settings > Organization > Integrations > Linear** and chooses the teams in the **Teams** card. See [Teams](https://docs.agent.golf/linear/connect.md#teams).

On the organization Linear page, the status of a team tells why no workspace sees it:

| Status | Fix |
| - | - |
| **Not Imported, Data Kept** | With **Specific Teams**, select the team in the **Import** column, or choose **All Teams**. |
| **No Access in Linear** | The Linear app can no longer read the team: a Linear admin removed it from the team access of the app, or the team is private or deleted in Linear. If the team still exists, see [Change the teams of the app](https://docs.agent.golf/linear/connect.md#change-the-teams-of-the-app). |

When a team save shows "Linear no longer lists one of these teams. The page shows the current teams.", the list changed while the page was open. Make the change again.

## Linear access stopped

The Linear page shows **Needs Reconnect** and "Linear revoked the access of Agent Golf on … The roadmap shows data from that date." Linear no longer accepts Agent Golf's access. For example, someone removed the Agent Golf app in the Linear workspace settings, or Linear stopped the access.

The sync stopped, and the roadmap shows the data from that date. Select **Reconnect**, then **Continue to Linear**, and approve the install in Linear. The data, the follow lists, the import choice, and the team choices stay. See [Reconnect](https://docs.agent.golf/linear/connect.md#reconnect).

## The import did not finish

The Linear page shows "The import from Linear did not finish. Change the import scope or reconnect Linear to import again."

Linear can refuse a read when the access of a connection is missing a scope. For example, an older connection without the `initiative:read` scope cannot read initiatives. Agent Golf then imports no initiatives, and the import does not finish. A Linear admin must approve the full access again:

1. On the Linear page, select **Disconnect**, then confirm.
2. Select **Reconnect**, then **Continue to Linear**, and approve the install in Linear. Linear shows the scopes that Agent Golf asks for.

The imported data stays. Agent Golf then imports again.

If the import still does not finish, change the import choice to start a new import. If that does not help, send an email to [support@agent.golf](mailto:support@agent.golf).

"N projects could not import. Agent Golf tries again at the next sync." means that the import of some projects failed 12 times. The other projects are on the roadmap. At each sync pass that succeeds, about every 10 minutes, Agent Golf queues the import of each failed project again, from its first page. A project gets up to 24 attempts in total.

"N projects could not import after 24 tries." means that these projects used all their attempts. No sync pass imports them again. The recovery passes still keep their changed items current. To import them again, change the import choice, or disconnect and reconnect Linear.

## A pull request is not on the roadmap

A pull request counts for a Linear item only when all of these are true:

1. Linear attached the pull request to an issue. Open the issue in Linear and look for the pull request in its attachments. Turn on the GitHub integration of Linear. See [How Linear attaches a pull request](https://docs.agent.golf/linear/pull-request-links.md#how-linear-attaches-a-pull-request).
2. Agent Golf has the pull request. Its GitHub organization is [connected](https://docs.agent.golf/github/organization.md), and the Agent Golf GitHub App covers its repository.
3. Agent Golf imported the issue. Agent Golf imports only the issues of the [imported teams](https://docs.agent.golf/linear/imports.md#teams). A new **Active Work** import skips the projects that are already completed or canceled. A project that Agent Golf imported earlier stays current after it completes. See [Choose what to import](https://docs.agent.golf/linear/imports.md#choose-what-to-import).
4. GitHub last updated the pull request in the selected period. See [The period](https://docs.agent.golf/linear/project-spend.md#the-period).

A linked issue can have no project. Its pull request then counts for the issue, but its spend is unplanned. To make it project spend, move the issue into a project, or make it a sub-issue of an issue in a project.

A change in Linear can take a few minutes to show. See [Live updates](https://docs.agent.golf/linear/imports.md#live-updates).


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