Skip to content

Linear

Linear is a project management platform for software teams.

Bruin supports Linear as a source for Ingestr assets. You can ingest data from Linear into your data platform.

To set up a Linear connection, add a configuration item in the .bruin.yml file and in your asset file. The configuration requires api_key.

Step 1: Add a connection to the .bruin.yml file

yaml
connections:
  linear:
    - name: "linear"
      api_key: "lin_api_123"
  • api_key: Linear API key.

Step 2: Create an asset file for data ingestion

Create an asset configuration file (e.g., linear_ingestion.yml) inside the assets folder with the following content:

yaml
name: public.linear
type: ingestr

parameters:
  source_connection: linear
  source_table: 'teams'

  destination: postgres
  • name: The name of the asset.
  • type: Always ingestr for Linear.
  • source_connection: The Linear connection name defined in .bruin.yml.
  • source_table: Name of the Linear table to ingest.
  • destination: The destination connection name.

Available Source Tables

TablePKInc KeyInc StrategyDetails
issuesidupdatedAtmergeFetches all issues from your Linear workspace.
usersidupdatedAtmergeFetches users from your workspace.
workflow_statesidupdatedAtmergeFetches workflow states used in your Linear workspace.
cyclesidupdatedAtmergeFetches cycle information and planning data.
attachmentsidupdatedAtmergeFetches file attachments associated with issues.
commentsidupdatedAtmergeFetches comments on issues and other entities.
documentsidupdatedAtmergeFetches documents created in Linear.
external_usersidupdatedAtmergeFetches information about external users.
initiativeidupdatedAtmergeFetches initiative data for high-level planning.
integrationsidupdatedAtmergeFetches integration configurations.
labelsidupdatedAtmergeFetches labels used for categorizing issues.
project_updatesidupdatedAtmergeFetches updates posted to projects
team_membershipsidupdatedAtmergeFetches team membership information.
initiative_to_projectidupdatedAtmergeFetches relationships between initiatives and projects.
project_milestoneidupdatedAtmergeRetrieves Linear project milestones and checkpoints.
project_statusidupdatedAtmergeFetches project status information.
projectsidupdatedAtmergeFetches project-level data.
teamsidupdatedAtmergeFetches information about the teams configured in Linear.
organizationidupdatedAtmergeFetches organization-level information.

Step 3: Run asset to ingest data

bruin run assets/linear_ingestion.yml

Running this command ingests data from Linear into your Postgres database.

Linear