Docs/Linear
#

Linear

Connect Linear to file Cofactor issues as Linear tickets and close them when the ticket is done.

Connect Linear to Cofactor

Connect Linear and a Cofactor issue can become a Linear ticket in one step. When the Linear ticket is completed or canceled, Cofactor closes the issue.

Connect Linear

An organization admin connects Linear.

  1. Open Settings, then Linear.
  2. Select Connect with OAuth, review the access and authorize it.
  3. Back in Cofactor, under Default Settings, pick a Default Team. Pick a Default Project (optional) if you want one, then select Save Settings.

File a Cofactor issue as a Linear ticket

Open the issue and select Create Linear Ticket in the drawer, or run the command. The ticket links back to the issue.

bash
cofactor tickets file <issue id> --provider linear

If Linear is the only tracker you connected, --provider is not needed. See Issues.

Look up a Linear ticket from Slack

In a Slack thread, ask Cofactor for a ticket by its key or by words in its title, for example Find Linear ticket ENG-123. Cofactor can start a test for it from the thread and posts the result in Slack. Only Jira tickets get the result written back. See Slack.

Check it worked

In Settings, Linear, the Connected badge shows. File one issue as a ticket and open it in Linear. Complete the ticket in Linear, and the Cofactor issue closes.

Fix a problem

SymptomWhat to check
A completed ticket does not close its issueSelect Disconnect, then connect Linear again. Cofactor matches Linear updates to your organization using details it saves when you connect.
Slack finds no Linear ticketSearch with the exact key, and confirm Linear shows as connected.

Go deeper

Advanced

Feature preferences.

The Linear page has a Feature Preferences card where an admin turns each Linear capability on or off.