Linear
Procedures and concepts for the Linear integration.
Overview
Linear is a modern issue tracking and project management tool designed for software development teams. This integration allows automated issue creation, status updates, project tracking, and team workflow management. Enhance development productivity and maintain organized project tracking.
Prerequisites
1. Required Books
The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:
Linear
How to Add the Book(s)
Go to Books → All Books.
Search for the name of the book and click on it.
Click on Install or Add Connection to add the book to your agent.
If adding a connection, you'll be prompted for connectivity details.
Connectivity
This section outlines the available methods for connecting to the Book, along with the required configuration details for each.
Connect using Personal API Key
Connect to Linear using a Personal API Key.
Personal API Key
Your Linear Personal API Key (starts with lin_api_).
sensitive
Procedures
to add a label to a linear issue
Apply a label to a Linear issue.
Input Concepts
label
The exact label name to apply. Use get the labels to discover valid values.
text
Yes
(no default)
Output Concepts
Examples
to add an issue to a linear cycle
Add a Linear issue to a cycle (sprint).
Input Concepts
Output Concepts
Examples
to create a comment on a linear issue
Post a comment on a Linear issue.
Input Concepts
body
The text of the comment.
text
Yes
(no default)
Output Concepts
Examples
to create a linear project
Create a new project in Linear.
Input Concepts
name
The project name.
text
Yes
(no default)
description
Optional. A description of the project.
text
No
(no default)
Output Concepts
Examples
to create an issue
Create an issue in Linear.
Input Concepts
title
The title of the issue.
text
Yes
(no default)
description
The description of the issue.
text
Yes
(no default)
Output Concepts
Examples
to delete a linear comment
Delete a comment from a Linear issue.
Input Concepts
Output Concepts
answer
Whether Linear reported the deletion as successful.
boolean
Examples
to delete an issue from linear
Delete a Linear issue.
Input Concepts
Output Concepts
answer
Whether Linear reported the delete as successful.
boolean
Examples
to follow a linear issue
Subscribe the authenticated user to a Linear issue to receive notifications.
Input Concepts
Output Concepts
answer
Whether the subscription was successful.
boolean
Examples
to get a linear issue by id
Fetch a single Linear issue by UUID, identifier, or issue number.
Input Concepts
issue id
The Linear UUID, issue identifier (for example "INT-123"), or bare issue number. Bare issue numbers must uniquely identify one issue.
text
Yes
(no default)
Output Concepts
Examples
to get a linear user
Find a Linear workspace user by their display name or email address.
Input Concepts
user query
The user's display name or email to search for.
text
Yes
(no default)
Output Concepts
Examples
to get all linear users
List all users in the Linear workspace.
Output Concepts
Examples
to get the (comments) from a linear issue
Fetch all comments on a Linear issue.
Input Concepts
Output Concepts
Examples
to get the (cycles) of a linear team
List all cycles (sprints) for a Linear team.
Input Concepts
Output Concepts
Examples
to get the (issues)
Fetch the issues matching the filters (if any).
Input Concepts
label
Filter by label name (case-sensitive). Use get the labels to discover valid values before filtering.
text
No
(no default)
Output Concepts
Examples
to get the (labels)
Fetch all available issue label names in the workspace.
Use this before filtering issues by label: label filtering is case-sensitive, and the names returned here are the exact values to pass to get the issues.
Output Concepts
labels
alphabetically sorted, deduplicated list of label names
text
Examples
to get the (notifications) from linear
Fetch notifications for the authenticated Linear user.
Output Concepts
Examples
to get the (projects) from linear
Fetch projects in the Linear workspace matching the filters (if any).
Output Concepts
Examples
to get the (teams)
Fetch the teams matching the filters (if any).
Output Concepts
Examples
to get the (users) from a team
Get the users from a team.
Input Concepts
Output Concepts
Examples
to get the workflow states of a linear team
List all workflow states available in a Linear team.
Input Concepts
Output Concepts
Examples
to remove a label from a linear issue
Remove a label from a Linear issue.
Input Concepts
label
The exact label name to remove.
text
Yes
(no default)
Output Concepts
Examples
to search linear issues
Full-text search Linear issues.
Input Concepts
search text
The text to search for in Linear issues.
text
Yes
(no default)
Output Concepts
Examples
to update a linear comment
Edit the text of an existing Linear comment.
Input Concepts
body
The new text for the comment.
text
Yes
(no default)
Output Concepts
Examples
to update a linear project
Edit a Linear project's name or description.
Input Concepts
name
Optional. New name for the project.
text
No
(no default)
description
Optional. New description for the project.
text
No
(no default)
Output Concepts
Examples
to update an issue in linear
Update fields on an existing Linear issue.
Input Concepts
title
Optional. New title for the issue.
text
No
(no default)
description
Optional. New description for the issue.
text
No
(no default)
priority
Optional. One of "No priority", "Urgent", "High", "Medium", or "Low".
text
No
(no default)
status
Optional. Workflow state name in the issue's team.
text
No
(no default)
labels
Optional. Exact label names to set on the issue. Warning: this replaces all existing labels on the issue.
text
No
(no default)
Output Concepts
Examples
Concepts
Linear issue
An issue in Linear
id
The unique identifier for the issue.
text
number
The number of the issue.
number
team
The team the issue belongs to.
json
description
The description of the issue.
text
title
The title of the issue.
text
state
The state of the issue.
json
identifier
The workspace identifier for the issue, such as "INT-123".
optional[text]
priority
The numeric Linear priority.
optional[number]
priority_label
The human-readable priority label.
optional[text]
url
The Linear web URL for the issue.
optional[text]
team_name
The name of the team the issue belongs to (e.g. "Integrations").
optional[text]
team_key
The short key of the team the issue belongs to (e.g. "INT").
optional[text]
labels
The label names applied to the issue.
optional[list of text]
label_names
The label names joined into one string, for filtering (e.g. "Bug, P1").
optional[text]
project_id
The ID of the project this issue belongs to, if any.
optional[text]
project_name
The name of the project this issue belongs to, if any.
optional[text]
cycle_id
The ID of the cycle this issue is in, if any.
optional[text]
cycle_number
The number of the cycle this issue is in, if any.
optional[number]
created_at
The ISO timestamp when the issue was created.
optional[text]
updated_at
The ISO timestamp when the issue was last updated.
optional[text]
Linear team
A team in Linear
id
The unique identifier for the team.
text
name
The name of the team.
text
key
The short identifier for the team.
text
Linear user
A user in Linear
id
The unique identifier for the user.
text
email
The email address of the user.
text
name
The name of the user.
text
is_me
Whether this user is the authenticated user.
boolean
Linear cycle
A cycle (sprint) in Linear
id
The unique identifier for the cycle.
text
number
The sequential number of the cycle within its team.
number
name
The display name of the cycle, if set.
optional[text]
description
An optional description of the cycle.
optional[text]
starts_at
The ISO timestamp when the cycle starts.
optional[text]
ends_at
The ISO timestamp when the cycle ends.
optional[text]
Linear comment
A comment on a Linear issue
id
The unique identifier for the comment.
text
body
The text body of the comment.
text
url
The Linear web URL for the comment.
optional[text]
created_at
The ISO timestamp when the comment was created.
optional[text]
updated_at
The ISO timestamp when the comment was last updated.
optional[text]
Linear project
A project in Linear
id
The unique identifier for the project.
text
name
The display name of the project.
text
state
The current state of the project name (e.g. Backlog, In Progress, Completed).
optional[text]
description
An optional description of the project.
optional[text]
url
The Linear web URL for the project.
optional[text]
start_date
The project start date (YYYY-MM-DD), if set.
optional[text]
target_date
The project target date (YYYY-MM-DD), if set.
optional[text]
Linear notification
A notification for the authenticated Linear user
id
The unique identifier for the notification.
text
type
The notification type (e.g. issueAssignee, issueComment).
text
read_at
ISO timestamp when the notification was read, if read.
optional[text]
url
The Linear web URL related to the notification.
optional[text]
created_at
The ISO timestamp when the notification was created.
optional[text]
updated_at
The ISO timestamp when the notification was last updated.
optional[text]
Linear workflow state
A workflow state in Linear
id
The unique identifier for the state.
text
name
The display name of the state.
text
state_type
The Linear type of the state (e.g. started, completed, cancelled).
text
description
An optional description of the state.
optional[text]
Last updated
Was this helpful?

