# Linear — Pipedream Connect

> Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.

- API slug: `linear` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Productivity
- Website: https://linear.app/
- Managed OAuth scopes: `read` · `write` · `issues:create` · `comments:create`
- This page (HTML): https://pipedream.com/apps/linear
- Tools: 34 actions · 6 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: linear`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "linear",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Comment:
const result = await mcp.callTool({
  name: "linear-create-comment",
  arguments: {
    issueId: "Issue",
    body: "Body",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Linear endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.linear.app/graphql

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkubGluZWFyLmFwcC9ncmFwaHFs?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "linear-create-comment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    linear: { authProvisionId: "apn_xxxxxxx" },
    issueId: "Issue",
    body: "Body",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (34)

### `linear-create-comment` — Create Comment (Write)

Adds a markdown comment to a Linear issue. Use it to comment on an issue; to comment on a Linear document, use Create Document Comment instead. Use Search Issues to find the target issue ID first. Returns the new comment's id, body and url, plus the issue's id, identifier and url. Example: issueId…

Full schema: https://pipedream.com/apps/linear/actions/create-comment.md

### `linear-create-document` — Create Document (Write)

Create a new Linear document (a spec, brief, runbook or meeting notes) and attach it to exactly one project, initiative, team or issue so teammates can find it. Set exactly one of projectId, initiativeId, teamId or issueId. If the user did not say where the document belongs and the choice is…

Full schema: https://pipedream.com/apps/linear/actions/create-document.md

### `linear-create-document-comment` — Create Document Comment (Write)

Add a comment to a Linear document, or reply to an existing comment on it. Use Search Documents to find the document ID, and List Document Comments to find a comment ID to reply to. For comments on issues use Create Comment instead. A reply's parent must be a top-level comment on the same document…

Full schema: https://pipedream.com/apps/linear/actions/create-document-comment.md

### `linear-create-initiative` — Create Initiative (Write)

Create a new initiative in Linear to track a cross-team strategic goal. Initiatives group multiple projects toward a shared objective. Use List Users to find a valid owner ID. Example: initiativeName: "Q4 Platform Upgrade", status: "Active", targetDate: "2024-12-31" → returns {success: true…

Full schema: https://pipedream.com/apps/linear/actions/create-initiative.md

### `linear-create-initiative-update` — Create Initiative Update (Write)

Post a status update on a Linear initiative. Use List Initiatives first to obtain the initiative ID. Updates appear in the initiative's activity feed and can include a health status. Example: initiativeId: "b2c3d4e5-0000-0000-0000-000000000002", body: "Two projects completed; on track for Q4."…

Full schema: https://pipedream.com/apps/linear/actions/create-initiative-update.md

### `linear-create-issue` — Create Issue (Write)

Creates a new issue in Linear. Use it when the user asks to file, open or create an issue; to change an existing issue, use Update Issue instead. Requires a team ID and title; all other fields are optional. Use Get Teams to discover valid team IDs, List Workflow States to find state IDs, List Users…

Full schema: https://pipedream.com/apps/linear/actions/create-issue.md

### `linear-create-project` — Create Project (Write)

Create a new project in Linear to track a body of work. Projects group related issues within a team. Use Get Teams for team IDs, List Project Statuses to find status IDs, List Users for member IDs, and List Project Labels for label IDs. Example: teamId: "9d1c3f7e-...", projectName: "Mobile App v2"…

Full schema: https://pipedream.com/apps/linear/actions/create-project.md

### `linear-create-project-update` — Create Project Update (Write)

Post a status update on a Linear project. Use List Projects first to obtain the project ID. Updates appear in the project's activity feed. Example: projectId: "a1b2c3d4-0000-0000-0000-000000000001", body: "Q3 milestone complete; all P0 issues resolved.", health: "onTrack" → returns {success: true…

Full schema: https://pipedream.com/apps/linear/actions/create-project-update.md

### `linear-get-current-user` — Get Current User (Read-only)

Retrieve rich context about the authenticated Linear user, including core profile fields, recent timestamps, direct team memberships, and high-level organization settings. Use this when your workflow or agent needs to understand who is currently authenticated, which teams they belong to, or what…

Full schema: https://pipedream.com/apps/linear/actions/get-current-user.md

### `linear-get-document` — Get Document (Read-only)

Fetch a single Linear document by its UUID or slugId and return the full markdown content plus metadata. Use when you need to read, show, or display the full contents of a document — Search Documents does not return the content field. Workflow: first call Search Documents to find the document id or…

Full schema: https://pipedream.com/apps/linear/actions/get-document.md

### `linear-get-document-content-history` — Get Document Content History (Read-only)

Return the revision history for a Linear document — each entry shows when the content changed and which users made the edit. Provide the document's UUID or slugId (same format as Get Document). Use Search Documents to find the document ID. Each history entry includes id, contentDataSnapshotAt…

Full schema: https://pipedream.com/apps/linear/actions/get-document-content-history.md

### `linear-get-initiative-update` — Get Initiative Update (Read-only)

Retrieve a single initiative update by its ID in Linear. Use List Initiative Updates first to obtain a valid update ID. Returns the full update including id, body, health, createdAt, and author. Example: initiativeUpdateId: "530f4366-88ab-4866-a44b-c2326728c32d" → returns {id…

Full schema: https://pipedream.com/apps/linear/actions/get-initiative-update.md

### `linear-get-issue` — Get Issue (Read-only)

Retrieve a single Linear issue by its issue ID or human-readable identifier. Provide exactly one of issueId or issueIdentifier (e.g. ENG-42). Use Search Issues to find the issue ID (the id field). Returns complete issue details: title, description, state, assignee, team, project, labels, and…

Full schema: https://pipedream.com/apps/linear/actions/get-issue.md

### `linear-get-project-update` — Get Project Update (Read-only)

Retrieve a single project update by its ID in Linear. Use List Project Updates first to obtain a valid update ID. Returns the full update including id, body, health, createdAt, and author. Example: projectUpdateId: "7df5e7f9-a357-4539-ae94-4a004fec635f" → returns {id…

Full schema: https://pipedream.com/apps/linear/actions/get-project-update.md

### `linear-get-teams` — Get Teams (Read-only)

Retrieves teams in your Linear workspace. Returns team objects with id, name, key, and more (including internal settings fields). Use this to discover valid team IDs (UUIDs) for creating or filtering issues and projects. Supports pagination: pass after with the previous response's…

Full schema: https://pipedream.com/apps/linear/actions/get-teams.md

### `linear-get-view-issues` — Get View Issues (Read-only)

Retrieve issues filtered by a saved custom view in Linear. Custom views encapsulate pre-configured filters (team, state, assignee, labels, etc.). Use List Views to find the view ID. Use the optional fields prop to narrow the response to only the keys you need (reduces context for large result…

Full schema: https://pipedream.com/apps/linear/actions/get-view-issues.md

### `linear-list-comments` — List Comments (Read-only)

List comments in Linear, optionally filtered by issue or body text. Returns comment objects with id, body and createdAt; the author is included only as a user ID (no name), and fields: ["user"] returns nothing. Supports pagination via first/after. Use Search Issues to find an issue ID to filter by…

Full schema: https://pipedream.com/apps/linear/actions/list-comments.md

### `linear-list-document-comments` — List Document Comments (Read-only)

List the comments on a Linear document. Use Search Documents to find the document ID. For comments on issues use List Comments instead. Returns comment objects with id, body, createdAt, user (author), parent (the comment being replied to, or null), resolvedAt (null if unresolved), and quotedText…

Full schema: https://pipedream.com/apps/linear/actions/list-document-comments.md

### `linear-list-initiative-updates` — List Initiative Updates (Read-only)

List initiative updates in Linear, optionally scoped to a single initiative. Use List Initiatives to find an initiative ID. Returns update objects with id, body, health, createdAt, and author. Example: initiativeId: "b2c3d4e5-0000-0000-0000-000000000002", first: 10 → returns {nodes: [{id…

Full schema: https://pipedream.com/apps/linear/actions/list-initiative-updates.md

### `linear-list-initiatives` — List Initiatives (Read-only)

List initiatives in Linear, optionally filtered by name or status. Use this to discover valid initiative IDs for creating updates or linking projects. Returns initiative objects with id, name, status, and targetDate. Example: status: "Active" → returns {nodes: [{id: "ini_01abc", name: "Q4 Platform…

Full schema: https://pipedream.com/apps/linear/actions/list-initiatives.md

### `linear-list-labels` — List Labels (Read-only)

List issue labels in the Linear workspace. Use this to discover valid label names and IDs for creating or filtering issues. Returns label objects with id, name, and color. Example: first: 50 → returns {nodes: [{id: "lbl_bug123", name: "Bug", color: "#ef4444"}, {id: "lbl_fe456", name: "Frontend"…

Full schema: https://pipedream.com/apps/linear/actions/list-labels.md

### `linear-list-project-labels` — List Project Labels (Read-only)

List available project labels in the Linear workspace. Use this to discover valid label IDs when creating or updating projects. Returns {nodes, pageInfo}, where each node includes id, name, and optional color. If pageInfo.hasNextPage is true, call again with after set to pageInfo.endCursor to fetch…

Full schema: https://pipedream.com/apps/linear/actions/list-project-labels.md

### `linear-list-project-statuses` — List Project Statuses (Read-only)

List available project statuses in the Linear workspace. Use this to discover valid status IDs when creating or updating projects. Returns {nodes, pageInfo}, where each node includes id, name, and type. If pageInfo.hasNextPage is true, call again with after set to pageInfo.endCursor to fetch more…

Full schema: https://pipedream.com/apps/linear/actions/list-project-statuses.md

### `linear-list-project-updates` — List Project Updates (Read-only)

List project updates in Linear, optionally scoped to a single project. Use List Projects to find a project ID. Returns update objects with id, body, health, createdAt, and author. Example: projectId: "a1b2c3d4-0000-0000-0000-000000000001", first: 10 → returns {nodes: [{id: "pu_01xyz", body: "Q3…

Full schema: https://pipedream.com/apps/linear/actions/list-project-updates.md

### `linear-list-projects` — List Projects (Read-only)

List projects in Linear, optionally filtered by team. Returns project objects including id, name, state, priority, and progress history. Use Get Teams to find team IDs. Use the optional fields prop to narrow the response when only specific fields are needed (reduces context for large result sets)…

Full schema: https://pipedream.com/apps/linear/actions/list-projects.md

### `linear-list-users` — List Users (Read-only)

List members of the Linear workspace. Use this to discover valid user IDs for assigning issues or initiatives. Returns {nodes, pageInfo}, where each node includes id, name, and email. If pageInfo.hasNextPage is true, call again with after set to pageInfo.endCursor to fetch more. Example: call with…

Full schema: https://pipedream.com/apps/linear/actions/list-users.md

### `linear-list-views` — List Views (Read-only)

List saved custom views in Linear. Use this to discover valid view IDs for the Get View Issues action. Custom views combine filters (team, assignee, state, labels, etc.) into a reusable saved search. Optionally filter by team. Example: teamId: "9d1c3f7e-..." → returns {nodes: [{id: "cv1abc", name…

Full schema: https://pipedream.com/apps/linear/actions/list-views.md

### `linear-list-workflow-states` — List Workflow States (Read-only)

List workflow states (statuses) in Linear. Returns state IDs, names, types (e.g. backlog, started, completed, cancelled), and team info. Optionally filter by team (use the Get Teams action to discover valid team IDs, e.g. 4e80f53c-da9e-4dee-b14e-2cab3e2e8716). Example: teamId: "9d1c3f7e-..." →…

Full schema: https://pipedream.com/apps/linear/actions/list-workflow-states.md

### `linear-remove-label-from-issue` — Remove Label from Issue (Write)

Removes one label from a Linear issue and leaves its other labels in place. To replace all of an issue's labels at once, use Update Issue with labelIds instead. The label can be re-added at any time, so this operation is reversible. Use Search Issues to find the issue ID, and List Labels to find…

Full schema: https://pipedream.com/apps/linear/actions/remove-label-from-issue.md

### `linear-search-documents` — Search Documents (Read-only)

Search Linear documents by text query, or list them filtered by project, initiative, or team. When query is provided, performs relevance-ranked full-text search across document titles and content (up to 200 results). When query is omitted, lists documents matching the project/initiative/team filter…

Full schema: https://pipedream.com/apps/linear/actions/search-documents.md

### `linear-search-issues` — Search Issues (Read-only)

Search Linear issues by team, project, assignee, labels, state, or text query. Returns up to 200 matching issues (paginated internally). Use Get Teams for team IDs, List Projects for project IDs, List Workflow States for state IDs, List Users for assignee IDs, and List Labels for label names. Use…

Full schema: https://pipedream.com/apps/linear/actions/search-issues.md

### `linear-update-document` — Update Document (Write)

Update an existing Linear document: rename it, rewrite its body, move it to another project, initiative, team or issue, change its owner, or change its icon or color. Only the fields you provide are changed; set at least one besides documentId. content replaces the whole body. To append to or edit…

Full schema: https://pipedream.com/apps/linear/actions/update-document.md

### `linear-update-initiative` — Update Initiative (Write)

Update an existing initiative in Linear. All fields are optional; only provided fields are updated. Use List Initiatives to find the initiative ID. Example: initiativeId: "b2c3d4e5-0000-0000-0000-000000000002", status: "Completed" → returns {success: true, initiative: {id: "b2c3d4e5-...", name: "Q4…

Full schema: https://pipedream.com/apps/linear/actions/update-initiative.md

### `linear-update-issue` — Update Issue (Write)

Updates an existing Linear issue: its title, description, state, assignee, labels, project, priority or team. issueId is required to identify the issue; every field to update is optional, and only provided fields are changed — omitted fields keep their prior values, except that moving the issue…

Full schema: https://pipedream.com/apps/linear/actions/update-issue.md

## Triggers (6)

### `linear-new-issue-status-updated` — Issue Status Updated (Instant) (Instant)

Emit new event when an issue's workflow state changes (e.g., Todo to In Progress). Returns issue with previous and current state info. Can filter by specific target state. Uses OAuth authentication. See Linear docs for additional info here.

Full schema: https://pipedream.com/apps/linear/triggers/new-issue-status-updated.md

### `linear-issue-updated-instant` — Issue Updated (Instant) (Instant)

Emit new event when any issue is updated in Linear. Provides complete issue details with changes. Supports filtering by team and project. Includes all updates except status changes. Uses OAuth authentication. See Linear docs for additional info here.

Full schema: https://pipedream.com/apps/linear/triggers/issue-updated-instant.md

### `linear-comment-created-instant` — New Comment Created (Instant) (Instant)

Emit new event when a new comment is added to an issue in Linear. Returns comment details including content, author, issue reference, and timestamps. Supports filtering by team. Uses OAuth authentication. See Linear docs for additional info here.

Full schema: https://pipedream.com/apps/linear/triggers/comment-created-instant.md

### `linear-issue-created-instant` — New Issue Created (Instant) (Instant)

Emit new event when a new issue is created in Linear. Provides complete issue details including title, description, team, assignee, state, and timestamps. Supports filtering by team and project. Uses OAuth authentication. See Linear docs for additional info here.

Full schema: https://pipedream.com/apps/linear/triggers/issue-created-instant.md

### `linear-new-projectupdate-created` — New Project Update Written (Instant) (Instant)

Emit new event when a project update (status report) is created in Linear. Returns update content, author, project details, and health status. Filters by team and optionally by project. Uses OAuth authentication. See Linear docs for additional info here.

Full schema: https://pipedream.com/apps/linear/triggers/new-projectupdate-created.md

### `linear-project-updated-instant` — Project Updated (Instant) (Instant)

Emit new event when a project is updated in Linear. Returns project details including name, description, status, dates, and team info. Supports filtering by specific teams. Uses OAuth authentication. See Linear docs for additional info here.

Full schema: https://pipedream.com/apps/linear/triggers/project-updated-instant.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
