Linear
Connect Linear to file Cofactor issues as Linear tickets and close them when the ticket is done.
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.
- Open Settings, then Linear.
- Select Connect with OAuth, review the access and authorize it.
- 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.
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
| Symptom | What to check |
|---|---|
| A completed ticket does not close its issue | Select Disconnect, then connect Linear again. Cofactor matches Linear updates to your organization using details it saves when you connect. |
| Slack finds no Linear ticket | Search with the exact key, and confirm Linear shows as connected. |
Go deeper
- Issues covers closing and filing issues.
- Slack covers asking Cofactor about a ticket.
- Reference: Jira, Azure DevOps
Feature preferences.
The Linear page has a Feature Preferences card where an admin turns each Linear capability on or off.