Skip to main content

Linear integration

Link Discoveries to Linear issues and stay synced with your engineering team.

Written by Marina Salmon

Our Linear integration lets you create and link issues of all types directly from your Harvestr Discoveries. You can then follow the progress and synchronize statuses between Harvestr and Linear.

Prerequisites

To use our Linear integration, all you need is:

  • A Linear account with Administrator permissions

  • A Harvestr Editor account

How to integrate Harvestr with your Linear account

  1. Click Connect Linear.

  2. Approve Harvestr in Linear.

Once this is done, your workspace appears in the Workspace card, with the date you connected it. The page header shows Connected.

To sync statuses, also set up the webhook. See Set up a webhook in Linear below.

How to use the Linear integration in Harvestr

Once the integration is set up, a "Link Linear" button will appear in each Discovery in Harvestr.

You can now:

  • Create and link one or more new Linear issues to a Discovery

  • Link one or more existing Linear issues to a Discovery

1. Create and link new Linear issues to a Discovery

After deciding to move forward with a Discovery, you can create corresponding issues in Linear for development.

When you click "Create issue" within a Discovery in Harvestr, a window will pop up, allowing you to enter the issue's attributes, including:

  • title

  • team

  • description

  • assignee

  • priority

Pro tip: by clicking "Copy fields from Discovery", you can automatically copy the title and description fields from your Discovery and paste them into the issue's Title and Description fields.

Once created, the issue will appear in Linear with the attributes you specified and an additional link back to the Discovery in Harvestr. This gives your development team access to valuable Discovery content, such as user feedback.

2. Link existing Linear issues to a Discovery

If you need to link existing Linear issues to a Harvestr Discovery, you can do so by selecting the "Link issue" button within your Discovery. A search bar will open, allowing you to search for a Linear issue by name or by key. Note that searching by key requires typing the complete key.

Once linked, you can monitor the issue's status directly from Harvestr.

You can link multiple Linear issues to a single Discovery.

3. Track Linear issues status from a Discovery

When a Linear issue is linked to a Discovery, the issue's information, including its status, can be tracked in real time from Harvestr.

4. Sync Discovery statuses with Linear issue statuses

Automatically update a Discovery's state when the status of its linked Linear issues changes. Available on all paid plans (Core, Scale, and Elite).

Rules live on the Linear settings page, in the Discovery automations card. They no longer live in the general Automations settings.

Set up a webhook in Linear

To synchronize statuses between Linear and Harvestr in real time, you first need to configure a webhook in Linear.

In Settings > Integrations > Linear, find the Webhook card and copy the Webhook URL.

Then, in Linear, go to Settings > API > Webhooks, create a new webhook and paste this URL into the dedicated field.

In the webhook configuration in Linear, make sure to enable the Issues event type. This is required for Linear to notify Harvestr whenever an issue changes status. You can leave all other event types unchecked. Select the team scope that corresponds to the issues you want synchronized. Then create the webhook.

Next, copy the Signing secret generated by Linear. Back in Harvestr, paste it into the Signing secret field of the Webhook card and click Save. Harvestr uses it to check that events really come from Linear.

Set up automation rules

Go to Settings > Integrations > Linear and click New rule in the Discovery automations card. A New rule window opens with three sections: When, If and Then.

Set up the trigger

When is filled in for you: The linked Linear issue is updated. Under If, pick the Linear state next to State is.

When several issues are linked to a single Discovery, the automation will be triggered when at least one issue has the selected status.

Set up the action

Under Then, pick the state next to Set discovery state to.

Click Create rule, and your rule is active.

Each rule has an on/off switch. Use the ⋯ menu of a rule to Edit, Duplicate or Delete it. You can have up to 35 rules.

Disconnect Linear

  1. In Settings > Integrations > Linear, click ⋯ on the workspace row, then Disconnect workspace.

  2. Confirm. Harvestr then reminds you to delete the webhook setup.

  3. In Linear, delete the webhook if you no longer need it.


We also provide custom integrations with Jira, Trello, GitHub, GitLab, and Figma to help you stay synced with your engineering and design teams.

Did this answer your question?