Linear

App · Project Management · 14 actions · 1 trigger

Create and manage Linear issues with a personal API key.

Triggers

Start a workflow when something happens in Linear. See how triggers work.

Linear New Issue

Triggers when a new issue is created in a Linear team.

Filters

Narrow which events start a run.

team_idRequired

Event fields

What a run starts with. Later steps read each field with an @ reference.

issue_idtext
identifiertext
titletext
stateobject

Actions

ActionWhat it does
Add a comment to an issuePost a comment on a Linear issue thread.
Add a link to an issueAttach a web link to a Linear issue, such as the support ticket or document it came from.
Create a projectStart a new project in Linear for a team, with an optional description and target date.
Create an issueCreate a new Linear issue with optional project, description, priority, and assignee.
Delete a projectMove a Linear project to the trash, where it can be restored.
Delete an issueMove a Linear issue to the trash, where it can be restored for 30 days.
Get issue detailsRetrieve detailed information for a Linear issue.
List comments on an issueRead the comments on a Linear issue, oldest first, with who wrote each.
List issues for a teamList Linear issues, newest first, for one team or every team.
List teamsFetch available Linear teams for the connected workspace.
Remove a label from an issueTake a label off a Linear issue, by its name.
Search issuesFind Linear issues by words in their title or description, best match first, in every team or one.
Update an issueChange a Linear issue's title, description, assignee, priority, due date or labels.
Update issue stateMove a Linear issue to a different workflow state, such as Todo or Done, using the new state's ID.

Add a comment to an issue

Post a comment on a Linear issue thread.

Inputs

Issue IDissue_idtextRequired
Linear issue ID to comment on
CommentbodytextRequired
The comment text to post

Outputs

commentobject
Comment details
Example output
{
  "comment": {
    "body": "Sample text content",
    "id": "abc123xyz789"
  }
}

Attach a web link to a Linear issue, such as the support ticket or document it came from.

Inputs

Issueissue_idtextRequired
The issue, as an earlier step gave it, or its ID such as ENG-123
LinkurltextRequired
The web address to attach, starting with https://
Titletitletext
What the link shows as on the issue. Leave blank to show the address.

Outputs

attachmentobject
The link as it is on the issue
Example output
{
  "attachment": {
    "id": "att123",
    "title": "Support ticket #4521",
    "url": "https://support.example.com/tickets/4521"
  }
}

Create a project

Start a new project in Linear for a team, with an optional description and target date.

Inputs

NamenametextRequired
The project's name
TeamteamtextRequired
The team the project is for
Descriptiondescriptiontext
A short summary of the project. Leave blank for none.
Target datetarget_datetext
When it should be finished, such as 2026-12-31. Leave blank for none.

Outputs

projectobject
The new project
Example output
{
  "project": {
    "description": "Ship the new onboarding.",
    "id": "proj123",
    "name": "Mobile app relaunch",
    "state": "planned",
    "target_date": "2026-12-31",
    "url": "https://linear.app/acme/project/mobile-app-relaunch-1a2b3c"
  }
}

Create an issue

Create a new Linear issue with optional project, description, priority, and assignee.

Inputs

Teamteam_idtextRequired
The Linear team the issue belongs to
TitletitletextRequired
Issue title
Descriptiondescriptiontext
Issue description. Markdown formatting is supported.
Project IDproject_idtext
ID of the project to add the issue to
Priorityprioritytext
How urgent the issue is: Urgent, High, Medium, Low or No priority. Leave blank for no priority. Linear's own numbers are taken too: 1 is urgent, 2 high, 3 medium, 4 low and 0 none.One of: urgent, high, medium, low, none (No priority).
Assignee IDassignee_idtext
ID of the user to assign the issue to

Outputs

issueobject
Issue details
Example output
{
  "issue": {
    "id": "abc123xyz789",
    "identifier": "abc123xyz789",
    "priority": 1,
    "priority_label": "Urgent",
    "state": {
      "id": "state123",
      "name": "Todo",
      "type": "unstarted"
    },
    "title": "Sample Item",
    "url": "https://example.com/path/123"
  }
}

Delete a project

Move a Linear project to the trash, where it can be restored. Its issues stay.

Inputs

Projectproject_idtextRequired
The project to delete, as an earlier step such as Create a project gave it

Outputs

deletedtrue/false
Whether the project was moved to the trash
idtext
The project deleted
Example output
{
  "deleted": true,
  "id": "proj123"
}

Delete an issue

Move a Linear issue to the trash, where it can be restored for 30 days.

Inputs

Issueissue_idtextRequired
The issue to delete, as an earlier step gave it, or its ID such as ENG-123

Outputs

deletedtrue/false
Whether the issue was moved to the trash
idtext
The issue deleted
Example output
{
  "deleted": true,
  "id": "abc123xyz789"
}

Get issue details

Retrieve detailed information for a Linear issue.

Inputs

Issue IDissue_idtextRequired
Linear issue ID to fetch

Outputs

issueobject
Issue details
Example output
{
  "issue": {
    "assignee": {
      "email": "sam.rivera@example.com",
      "name": "Sam Rivera"
    },
    "description": "example_value",
    "id": "abc123xyz789",
    "identifier": "abc123xyz789",
    "priority": 2,
    "priority_label": "High",
    "state": {
      "id": "state123",
      "name": "Active",
      "type": "started"
    },
    "title": "Sample Item",
    "updated_at": "2026-11-09T11:20:00.000Z",
    "url": "https://example.com/path/123"
  }
}

List comments on an issue

Read the comments on a Linear issue, oldest first, with who wrote each.

Inputs

Issueissue_idtextRequired
The issue, as an earlier step gave it, or its ID such as ENG-123
Maximum commentsfirstnumber
Most comments to return (1-250). Leave blank for 50.

Outputs

commentslist
The comments, oldest first
issue_idtext
The issue's ID
Example output
{
  "comments": [
    {
      "author_email": "ada@example.com",
      "author_name": "Ada Lovelace",
      "body": "I can reproduce this on Safari.",
      "created_at": "2026-11-02T10:00:00.000Z",
      "id": "c0ffee12",
      "url": "https://linear.app/acme/issue/ENG-123#comment-c0ffee12"
    }
  ],
  "issue_id": "abc123xyz789"
}

List issues for a team

List Linear issues, newest first, for one team or every team. Can narrow to one status (such as In Review), to issues that have sat in their status for some days, and to issues that have someone assigned. Each issue comes with its assignee's email and how long it has been in its status.

Inputs

Teamteam_idtext
The Linear team to list issues for. Beta: leave blank to list issues from every team.
Maximum issuesfirstnumber
Maximum number of issues to return (1-50), newest first. Not used when Status, In this status for at least, Leave out unassigned issues or Finished in the last days is filled in: those look at up to 250 issues.
Created sincecreated_aftertext
Only issues created on or after this date, such as 2026-11-02. Leave blank for any date.
Finished in the last dayscompleted_in_last_daysnumber
Beta. Only issues that were completed within this many days (7 for 'finished this week'), up to 250, each with the day it was finished. Needs no date or state steps.
Statusstate_nametext
Beta. Only issues in this status, by its name as it appears in Linear, such as In Review. Capital letters don't matter. Looks at up to 250 issues, newest first. Leave blank for every status.
In this status for at least (days)in_status_for_daysnumber
Beta. Only issues that have been in their current status for at least this many days (3 for 'stuck for more than 3 days'), counted from when the issue was moved into that status, not from when it was created or last edited. Use with Status to find, say, issues waiting In Review. Looks at up to 250 issues.
Leave out unassigned issuesassigned_onlytrue/false
Beta. Turn on to list only issues that have someone assigned. Looks at up to 250 issues.
Only overdue issuesoverdue_onlytrue/false
Beta. True returns only issues whose due date has passed and that are not finished or canceled, up to 250, each with its due date. Needs no date or state steps.

Outputs

has_moretrue/false
Beta. True when Linear had more issues than this step looked at (250 with a filter, otherwise Maximum issues), so the list may be missing older ones.
issueslist
Array of Linear issues, newest first. Each issue contains id (UUID for actions), identifier (human-readable), title, and state. Use issue id with linear_update_issue_state or linear_add_comment actions
Example output
{
  "has_more": false,
  "issues": [
    {
      "assignee": {
        "email": "sam.rivera@example.com",
        "name": "Sam Rivera"
      },
      "assignee_name": "Sam Rivera",
      "completed_at": "",
      "completed_display": "",
      "created_at": "2026-11-04T09:00:00.000Z",
      "days_in_status": 7,
      "due_date": "2026-11-10",
      "due_display": "Nov 10, 2026",
      "id": "6f1c2b0e-3d4a-4b5c-9e8f-0a1b2c3d4e5f",
      "identifier": "ENG-124",
      "priority": 2,
      "priority_label": "High",
      "state": {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "In Progress",
        "type": "started"
      },
      "status_since": "2026-11-05T10:15:00.000Z",
      "title": "Fix the login page",
      "updated_at": "2026-11-09T11:20:00.000Z",
      "url": "https://linear.app/acme/issue/ENG-124"
    },
    {
      "assignee": {
        "email": "priya.shah@example.com",
        "name": "Priya Shah"
      },
      "assignee_name": "Unassigned",
      "completed_at": "2026-11-06T16:45:00.000Z",
      "completed_display": "Nov 6, 2026",
      "created_at": "2026-11-02T14:30:00.000Z",
      "days_in_status": 6,
      "due_date": "",
      "due_display": "",
      "id": "0e9d8c7b-6a5f-4e3d-8c2b-1a0f9e8d7c6b",
      "identifier": "ENG-121",
      "priority": 3,
      "priority_label": "Medium",
      "state": {
        "id": "a1b2c3d4-0000-4000-8000-000000000002",
        "name": "Done",
        "type": "completed"
      },
      "status_since": "2026-11-06T16:45:00.000Z",
      "title": "Add a dark mode toggle",
      "updated_at": "2026-11-06T16:45:00.000Z",
      "url": "https://linear.app/acme/issue/ENG-121"
    }
  ]
}

List teams

Fetch available Linear teams for the connected workspace.

Inputs

None.

Outputs

teamslist
Array of Linear teams in the workspace. Each team contains id (use for creating/listing issues), name, and key (issue prefix). Use team id with linear_create_issue action
Example output
{
  "teams": [
    {
      "id": "team123",
      "key": "ENG",
      "name": "Engineering"
    }
  ]
}

Remove a label from an issue

Take a label off a Linear issue, by its name. The issue keeps its other labels, and one without the label is left as it is.

Inputs

Issueissue_idtextRequired
The issue, as an earlier step gave it, or its ID such as ENG-123
LabellabeltextRequired
The label to remove, by name, such as Bug

Outputs

issueobject
The issue as it is now
removedtrue/false
Whether the label was taken off; false when the issue didn't have it
Example output
{
  "issue": {
    "id": "abc123xyz789",
    "identifier": "ENG-123",
    "labels": [
      "Frontend"
    ],
    "title": "Fix the login page",
    "url": "https://linear.app/acme/issue/ENG-123"
  },
  "removed": true
}

Search issues

Find Linear issues by words in their title or description, best match first, in every team or one.

Inputs

Search fortermtextRequired
The words to look for, such as login page
Teamteamtext
Only issues in this team. Leave blank to search every team.
Maximum issuesfirstnumber
Most issues to return (1-50). Leave blank for 20.

Outputs

countnumber
How many were found
issueslist
The issues found, best match first
Example output
{
  "count": 1,
  "issues": [
    {
      "assignee": {
        "email": "ada@example.com",
        "name": "Ada Lovelace"
      },
      "created_at": "2026-11-02T09:00:00.000Z",
      "id": "abc123xyz789",
      "identifier": "ENG-123",
      "priority_label": "High",
      "state": {
        "id": "state123",
        "name": "Todo",
        "type": "unstarted"
      },
      "title": "Fix the login page",
      "updated_at": "2026-11-03T15:00:00.000Z",
      "url": "https://linear.app/acme/issue/ENG-123"
    }
  ]
}

Update an issue

Change a Linear issue's title, description, assignee, priority, due date or labels. Only the fields you fill in change.

Inputs

Issueissue_idtextRequired
The issue to change, as an earlier step gave it, or its ID such as ENG-123
Titletitletext
A new title. Leave blank to keep the current one.
Descriptiondescriptiontext
A new description, replacing the current one. Markdown formatting is supported.
Assign toassignee_emailtext
The email of the person in your Linear workspace to assign the issue to
Priorityprioritytext
How urgent the issue is: Urgent, High, Medium, Low or No priority. Leave blank to keep the priority it has. Linear's own numbers are taken too: 1 is urgent, 2 high, 3 medium, 4 low and 0 none.One of: urgent, high, medium, low, none (No priority).
Due datedue_datetext
When the issue is due, such as 2026-11-30
Add labelsadd_labelslist
Labels to add, by name, such as Bug. The issue keeps the labels it already has.

Outputs

issueobject
The issue as it is now
Example output
{
  "issue": {
    "assignee": {
      "email": "ada@example.com",
      "name": "Ada Lovelace"
    },
    "description": "The button is cut off on phones.",
    "due_date": "2026-11-30",
    "id": "abc123xyz789",
    "identifier": "ENG-123",
    "labels": [
      "Bug"
    ],
    "priority": "High",
    "priority_label": "High",
    "state": {
      "id": "state123",
      "name": "Todo",
      "type": "unstarted"
    },
    "title": "Fix the login page",
    "url": "https://linear.app/acme/issue/ENG-123"
  }
}

Update issue state

Move a Linear issue to a different workflow state, such as Todo or Done, using the new state's ID.

Inputs

Issue IDissue_idtextRequired
Linear issue ID to update
State IDstate_idtextRequired
ID of the workflow state to move the issue to

Outputs

issueobject
Issue details
Example output
{
  "issue": {
    "id": "abc123xyz789",
    "identifier": "abc123xyz789",
    "state": {
      "id": "state123",
      "name": "Active",
      "type": "started"
    },
    "title": "Sample Item"
  }
}

On this page