Skip to main content

Getting started

If you have not yet set up Trigger.dev in your project, go to the quick start guide.

Installation

To get started with the Linear integration on Trigger.dev, you need to install the @trigger.dev/linear package. You can do this using npm, pnpm, or yarn:

Authentication

To use the Linear API with Trigger.dev, you can either use OAuth or a Personal API Key.

OAuth

Personal API Key

You can create a Personal API Key in your Linear API Settings.

Usage

Include the Linear integration in your Trigger.dev job.

Serialization helper

Use the serializeLinearOutput helper instead of returning raw Linear SDK responses:

Pagination

You can paginate responses two different ways:
  1. Iterating the same integration task with different params
  2. Using the getAll helper exposed on the integration (recommended!)
When ordering results, make sure to use the PaginationOrderBy enum.

Triggers

Attachments

Comments

Cycles

Issues

Issue Labels

Issue SLAs

Projects

Project Updates

Reactions

Tasks

Attachments

Comments

Cycles

Documents

Favorites

Issues

Issue Labels

Issue Relations

Notifications

Organizations

Projects

Project Updates

Reactions

Roadmaps

Teams

Team Memberships

Templates

Users

Webhooks

Workflow States

Misc

Example jobs

Code examples

Check out pre-built jobs using Linear in our API section.