Data connections
...
Integrations
Issue trackers

Linear

7min

Purpose

Echoes can connect to your Linear instance and help you tag Linear issues with the intended outcomes and initiatives they contribute to. This allows you to express the purpose of work during the planning process in Linear and have related code contributions inherit these annotations, therefore reducing the labelling effort for engineers.

Installation

Linear integration is done through the integrations settings.

Echoes integrations
Echoes integrations


You can connect to Linear using either the OAuth flow (recommended), or providing a personal API keys generated through your Linear settings.

Linear installation flow
Linear installation flow


The installation is finalized by selecting the teams you wish to enable Echoes for.

Selecting Linear teams
Selecting Linear teams


How to use

Echoes creates labels on all teams on which it is enabled: one for each configured outcome and initiative (they will all be prefixed with Echoes:):

Linear issue labels created by Echoes
Linear issue labels created by Echoes


You can link GitHub pull requests or GitLab merge requests to Linear issues through their branch name, the issue ID in their title, or the issue ID in their description (as described on Linear documentation). When Echoes detects a link, it will directly apply the labels it finds on both the linked issue and its parent, if any.

Echoes bot retrieves the label from a linked Linear issuee
Echoes bot retrieves the label from a linked Linear issuee


Labeling behavior details

  • Labels are only applied when a pull request is opened, edited, or reopened. Changing the intent on a Linear ticket will not change the labels on a previously opened pull request.
  • The automation only adds more labels and never removes previously existing labels from the pull request.

Contributing efforts from Linear issues

Some efforts happen outside of git, such as design work, customer support, or testing activities. Echoes makes it possible to account for those efforts as long as they exist as issues in a third-party system such as Linear.

A completed Linear issue tagged with one of the effort labels below will be accounted for as efforts in the same way a GitHub pull request or a GitLab merge request does.

Echoes effort labels in Linear
Echoes effort labels in Linear


These items can be found in work items alongside GitHub pull requests and GitLab merge requests.

Linear issue tagged with an effort in work items
Linear issue tagged with an effort in work items


Frequently asked questions

Q: Can we use Linear estimation to weight issues?

You cannot use Linear estimation feature at this time to weight issues in Echoes, for several reasons:

  • They serve different purpose: estimation is a guess before work happens, while Echoes effort labels capture the realized load after the task is completed.
  • Units are not naturally mapped: Linear estimation has more option than t-shirt sizing alone, which makes alignment across on the same scale systems difficult.
  • A ticket being estimated does not mean that it should contribute to Echoes efforts. Most tickets will serve as context for a series of code changes, which Echoes will capture and account for through the corresponding GitHub pull requests and GitLab merge requests. The only tickets which should contribute efforts by themselves are those for which some amount of work happened outside of git.



Updated 07 Feb 2023
Did this page help you?