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

# Linear

> Work with Struct Agent in your Linear conversations.

Connect Linear so Struct Agent can collaborate in the selected teams and issues. Inspect the current team scope before changing the connection.

## Inspect access and existing connections

Use a claimed workspace with permission to configure connections.

```bash theme={null}
struct whoami --json
struct connections catalog linear --json
struct connections list --json
```

Use the catalog's current fields, choices and permission requirements. Reuse an existing healthy connection instead of creating a duplicate.

## Connect with the CLI

Relay the `waiting_for_human` URL immediately while reading JSON Lines. The person approves the intended provider account in a browser signed in to Struct as the CLI user.

Replace example values with the intended resource:

```bash theme={null}
struct connect linear --no-browser --json
```

Choose the intended Linear organization during consent. Configure the teams and automatic-investigation choices in Struct's source settings; the CLI connects the account but does not select triage teams. Work with Struct as a teammate in the issue conversation. See [triage](https://docs.struct.ai/agent/jobs/triage-alerts.md).

## Verify and recover

Use the returned connection ID:

```bash theme={null}
struct connections show CONNECTION_ID --json
```

Inspect `health` and any missing access, not only the exit code. Struct has no saved-connection test for this app (`struct connections test` returns `test_not_supported`), so confirm access with the check below. If the approval link expired, start the connection command again and use the new link. Do not reconnect to a different account silently.

Connection health proves checked access; it does not prove an investigation or alert delivery.

The CLI has no Linear read command. To check end to end, ask the person to mention Struct in a comment on a test issue; do not create one without their direction.

## Permissions

Struct connects to Linear with OAuth as an app user, so its comments and updates appear as Struct. It asks for `read`, `write`, `app:assignable` and `app:mentionable`; reconnect Linear from Connections if one is missing.

### Access

Read issues, post Struct's findings as comments, and let you assign and mention Struct.

| Scope | Used for |
| - | - |
| `read` | Reading issues, comments, teams and projects |
| `write` | Posting findings as comments and updating issues |
| `app:assignable` | Letting you assign issues to Struct |
| `app:mentionable` | Letting you mention Struct in comments |

Permission catalog version `2026-11-04.1`. See [permission changes](https://docs.struct.ai/reference/permission-changes.md).


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