> For the complete documentation index, see llms.txt.
Skip to main content

Check out Port for yourself ➜ 

Linear

Linear integration actions let workflows manage issues and related content through your installed Linear integration.

Prerequisites

  • A Linear integration installed in your Port organization.
  • Actions processing enabled for the integration.
  • A Linear API key with access to the teams, issues, projects, and agents used by the workflow.

Configuration

All Linear integration actions share the same node structure:

FieldTypeDescription
typestringRequired. Must be "INTEGRATION_ACTION".
installationIdstringRequired. Your Linear integration installation ID.
integrationProviderstringRequired. Must be "linear".
integrationInvocationTypeenumRequired. One of the values listed in available actions.
integrationActionExecutionPropertiesobjectRequired. Properties for the selected action.

The remaining sections describe the execution properties of each action.

Available actions

Each action is selected with the integrationInvocationType field:

ActionInvocation typeDescription
Manage an issuecreate_issueCreate an issue in a Linear team
Manage an issuecreate_sub_issueCreate a child of an existing issue
Manage an issueupdate_issueUpdate an existing issue

| Add a comment | add_comment | Add Markdown content to an issue | | Add a document | add_document | Create a document associated with an issue or project | | Add an issue reaction | add_reaction_to_issue | Add an emoji reaction to an issue |

The remaining sections describe the execution properties of each action.

Issue actions

Manage an issue

Create or update an issue.

Creates an issue in a Linear team. Set integrationInvocationType to create_issue.

Execution properties

FieldTypeDescription
teamIdstringRequired. UUID of the Linear team.
titlestringRequired. Issue title.
descriptionstringIssue description in Markdown.
assigneeIdstringUUID of the user assigned to the issue.
stateIdstringUUID of the workflow state assigned to the issue.
projectIdstringUUID of the associated project.
cycleIdstringUUID of the associated cycle.
prioritystringPriority from 0 (no priority) to 4 (low).
labelIdsarrayUUIDs of labels attached to the issue.

Basic example

Create an issue in a Linear team (click to expand)
{
"identifier": "create-linear-issue",
"title": "Create Linear issue",
"config": {
"type": "INTEGRATION_ACTION",
"installationId": "linear-installation",
"integrationProvider": "linear",
"integrationInvocationType": "create_issue",
"integrationActionExecutionProperties": {
"teamId": "4b28ca84-2f8f-4a52-8f31-2ccbbbd83091",
"title": "Investigate checkout failures"
}
}
}

Comment and document actions

Add a comment

Adds Markdown content to an issue. Set integrationInvocationType to add_comment.

Execution properties

FieldTypeDescription
issueIdstringRequired. UUID or identifier of the issue.
bodystringRequired. Comment content in Markdown.

Basic example

Post a comment on an issue (click to expand)
{
"identifier": "comment-on-linear-issue",
"title": "Comment on Linear issue",
"config": {
"type": "INTEGRATION_ACTION",
"installationId": "linear-installation",
"integrationProvider": "linear",
"integrationInvocationType": "add_comment",
"integrationActionExecutionProperties": {
"issueId": "ENG-123",
"body": "The fix is ready for review."
}
}
}

Add a document

Creates a document associated with an issue or project. Set integrationInvocationType to add_document. Provide either issueId or projectId.

Execution properties

FieldTypeDescription
titlestringRequired. Document title.
contentstringDocument content in Markdown.
issueIdstringUUID or identifier of the related issue.
projectIdstringUUID of the related project.

Basic example

Create a document linked to an issue (click to expand)
{
"identifier": "add-linear-document",
"title": "Add Linear document",
"config": {
"type": "INTEGRATION_ACTION",
"installationId": "linear-installation",
"integrationProvider": "linear",
"integrationInvocationType": "add_document",
"integrationActionExecutionProperties": {
"title": "Checkout failure investigation",
"issueId": "ENG-123"
}
}
}

Reaction actions

Add an issue reaction

Adds an emoji reaction to an issue. Set integrationInvocationType to add_reaction_to_issue.

Execution properties

FieldTypeDescription
issueIdstringRequired. UUID or identifier of the issue.
emojistringRequired. Emoji shortcode, such as +1, thumbsup, or eyes.

Basic example

Add an emoji reaction to an issue (click to expand)
{
"identifier": "react-to-linear-issue",
"title": "React to Linear issue",
"config": {
"type": "INTEGRATION_ACTION",
"installationId": "linear-installation",
"integrationProvider": "linear",
"integrationInvocationType": "add_reaction_to_issue",
"integrationActionExecutionProperties": {
"issueId": "ENG-123",
"emoji": "eyes"
}
}
}