ByteChef LogoByteChef
Components

Linear

Linear is a project management and issue tracking tool designed primarily for software teams.

Linear is a project management and issue tracking tool designed primarily for software teams.

Categories: Project Management

Type: linear/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Create Issue

Name: createIssue

Creates a new issue.

Properties

NameLabelTypeDescriptionRequired
titleIssue TitleSTRINGThe title of the new issue.true
teamIdTeam IDSTRINGThe ID of the team where this issue should be created.true
statusIdStatusSTRINGThe status of the issue.true
priorityPriorityINTEGER
Options 0, 1, 2, 3, 4
The priority of the issue.false
assigneeIdAssignee IDSTRINGThe identifier of the user to assign the issue to.false
descriptionDescriptionSTRINGThe detailed description of the issue.false

Example JSON Structure

{
  "label" : "Create Issue",
  "name" : "createIssue",
  "parameters" : {
    "title" : "",
    "teamId" : "",
    "statusId" : "",
    "priority" : 1,
    "assigneeId" : "",
    "description" : ""
  },
  "type" : "linear/v1/createIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
successBOOLEAN
Options true, false
Whether the operation was successful.
issueOBJECT
Properties {STRING(id), STRING(title)}
The issue that was created or updated.

Output Example

{
  "success" : false,
  "issue" : {
    "id" : "",
    "title" : ""
  }
}

Update Issue

Name: updateIssue

Update an issue.

Properties

NameLabelTypeDescriptionRequired
teamIdTeam IDSTRINGThe ID of the team where this issue should be created.true
issueIdIssue IDSTRING
Depends On teamId
The identifier of the issue to update.true
titleIssue TitleSTRINGThe title of the new issue.false
statusIdStatusSTRINGThe status of the issue.false
priorityPriorityINTEGER
Options 0, 1, 2, 3, 4
The priority of the issue.false
assigneeIdAssignee IDSTRINGThe identifier of the user to assign the issue to.false
descriptionDescriptionSTRINGThe detailed description of the issue.false

Example JSON Structure

{
  "label" : "Update Issue",
  "name" : "updateIssue",
  "parameters" : {
    "teamId" : "",
    "issueId" : "",
    "title" : "",
    "statusId" : "",
    "priority" : 1,
    "assigneeId" : "",
    "description" : ""
  },
  "type" : "linear/v1/updateIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
successBOOLEAN
Options true, false
Whether the operation was successful.
issueOBJECT
Properties {STRING(id), STRING(title)}
The issue that was created or updated.

Output Example

{
  "success" : false,
  "issue" : {
    "id" : "",
    "title" : ""
  }
}

Create Project

Name: createProject

Creates a new project.

Properties

NameLabelTypeDescriptionRequired
nameProject NameSTRINGThe name of the project.true
teamIdTeam IDSTRINGThe ID of the team where this project should be created.true
statusIdStatusSTRINGThe status of the project.false
priorityPriorityINTEGER
Options 0, 1, 2, 3, 4
The priority of the project.false
startDateStart DateDATEThe planned start date of the project.false
descriptionDescriptionSTRINGThe detailed description of the project.false

Example JSON Structure

{
  "label" : "Create Project",
  "name" : "createProject",
  "parameters" : {
    "name" : "",
    "teamId" : "",
    "statusId" : "",
    "priority" : 1,
    "startDate" : "2021-01-01",
    "description" : ""
  },
  "type" : "linear/v1/createProject"
}

Output

Type: OBJECT

Properties

NameTypeDescription
successBOOLEAN
Options true, false
Whether the operation was successful.
projectOBJECT
Properties {STRING(id), STRING(name)}
The project that was created or updated.

Output Example

{
  "success" : false,
  "project" : {
    "id" : "",
    "name" : ""
  }
}

Update Project

Name: updateProject

Update a project.

Properties

NameLabelTypeDescriptionRequired
projectIdProject IDSTRINGThe identifier of the project to update.true
nameProject NameSTRINGThe name of the project.false
statusIdStatusSTRINGThe status of the project.false
priorityPriorityINTEGER
Options 0, 1, 2, 3, 4
The priority of the project.false
startDateStart DateDATEThe planned start date of the project.false
descriptionDescriptionSTRINGThe detailed description of the issue.false

Example JSON Structure

{
  "label" : "Update Project",
  "name" : "updateProject",
  "parameters" : {
    "projectId" : "",
    "name" : "",
    "statusId" : "",
    "priority" : 1,
    "startDate" : "2021-01-01",
    "description" : ""
  },
  "type" : "linear/v1/updateProject"
}

Output

Type: OBJECT

Properties

NameTypeDescription
successBOOLEAN
Options true, false
Whether the operation was successful.
projectOBJECT
Properties {STRING(id), STRING(name)}
The project that was created or updated.

Output Example

{
  "success" : false,
  "project" : {
    "id" : "",
    "name" : ""
  }
}

Create Comment

Name: createComment

Creates a new comment.

Properties

NameLabelTypeDescriptionRequired
teamIdTeam IDSTRINGThe ID of the team where this issue should be created.true
issueIdIssue IDSTRING
Depends On teamId
The identifier of the issue to update.true
bodyComment BodySTRINGThe comment content in markdown format.true

Example JSON Structure

{
  "label" : "Create Comment",
  "name" : "createComment",
  "parameters" : {
    "teamId" : "",
    "issueId" : "",
    "body" : ""
  },
  "type" : "linear/v1/createComment"
}

Output

Type: OBJECT

Properties

NameTypeDescription
successBOOLEAN
Options true, false
Whether the operation was successful.
commentOBJECT
Properties {STRING(id), {STRING(id)}(issue), STRING(body)}
The comment that was created.

Output Example

{
  "success" : false,
  "comment" : {
    "id" : "",
    "issue" : {
      "id" : ""
    },
    "body" : ""
  }
}

Raw Graphql Query

Name: rawGraphqlQuery

Perform a raw Graphql query.

Properties

NameLabelTypeDescriptionRequired
queryQuerySTRINGThe query to perform.true
variablesVariablesSTRINGThe variables for the query.false

Example JSON Structure

{
  "label" : "Raw Graphql Query",
  "name" : "rawGraphqlQuery",
  "parameters" : {
    "query" : "",
    "variables" : ""
  },
  "type" : "linear/v1/rawGraphqlQuery"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {}
Response data.

Output Example

{
  "data" : { }
}

Triggers

New Issue

Name: newIssue

Triggers when new issue is created.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeDescriptionRequired
allPublicTeamsAll Public TeamsBOOLEAN
Options true, false
If true, the webhook will be created for all public teams.true
teamIdTeam IDSTRINGtrue

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe unique identifier of the entity.
titleSTRINGThe issue's title.
teamOBJECT
Properties {STRING(id), STRING(name)}
The team that the issue is associated with.
stateOBJECT
Properties {STRING(name)}
The workflow state that the issue is associated with.
prioritySTRINGThe priority of the issue.
assigneeOBJECT
Properties {STRING(id), STRING(name)}
The user to whom the issue is assigned to.
descriptionSTRINGThe issue's description in markdown format.

JSON Example

{
  "label" : "New Issue",
  "name" : "newIssue",
  "parameters" : {
    "allPublicTeams" : false,
    "teamId" : ""
  },
  "type" : "linear/v1/newIssue"
}

Updated Issue

Name: updatedIssue

Triggers when an issue is updated.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeDescriptionRequired
allPublicTeamsAll Public TeamsBOOLEAN
Options true, false
If true, the webhook will be created for all public teams.true
teamIdTeam IDSTRINGtrue

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe unique identifier of the entity.
titleSTRINGThe issue's title.
teamOBJECT
Properties {STRING(id), STRING(name)}
The team that the issue is associated with.
stateOBJECT
Properties {STRING(name)}
The workflow state that the issue is associated with.
prioritySTRINGThe priority of the issue.
assigneeOBJECT
Properties {STRING(id), STRING(name)}
The user to whom the issue is assigned to.
descriptionSTRINGThe issue's description in markdown format.

JSON Example

{
  "label" : "Updated Issue",
  "name" : "updatedIssue",
  "parameters" : {
    "allPublicTeams" : false,
    "teamId" : ""
  },
  "type" : "linear/v1/updatedIssue"
}

Removed Issue

Name: removedIssue

Triggers when an issue is removed.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeDescriptionRequired
allPublicTeamsAll Public TeamsBOOLEAN
Options true, false
If true, the webhook will be created for all public teams.true
teamIdTeam IDSTRINGtrue

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe unique identifier of the entity.
titleSTRINGThe issue's title.
teamOBJECT
Properties {STRING(id), STRING(name)}
The team that the issue is associated with.
stateOBJECT
Properties {STRING(name)}
The workflow state that the issue is associated with.
prioritySTRINGThe priority of the issue.
assigneeOBJECT
Properties {STRING(id), STRING(name)}
The user to whom the issue is assigned to.
descriptionSTRINGThe issue's description in markdown format.

JSON Example

{
  "label" : "Removed Issue",
  "name" : "removedIssue",
  "parameters" : {
    "allPublicTeams" : false,
    "teamId" : ""
  },
  "type" : "linear/v1/removedIssue"
}