Linear
Connect your Linear team to a Testomat.io project to create issues from failing tests, link the ones you already have, and turn Linear issues into requirements.
Create a Personal Access Token
Section titled “Create a Personal Access Token”Testomat.io connects to Linear with a personal API key. Linear calls it an API key; in Testomat.io the same key goes into the Personal Access Token field.

- In Linear, open Settings and go to Security & access.
- Under Personal API keys, click New API key.
- Enter a Key name, for example
Testomat.io. - Choose the Permissions and Team access the key gets.
- Click Create.

- Click the copy icon next to the key. Copy the key before you leave the page - Linear shows it only once.

Connect Linear
Section titled “Connect Linear”
- In Testomat.io, open Settings and go to Issues management.
- Click Connect to IMS.
- Select Linear.
- Change the Profile Name if you want a different one.
- Paste your key into Personal Access Token. The Create it on Linear link above the field opens the page where you make one.
- Enter your team name in Team.
- Click Save.

The new profile appears on the Issues management page, next to any other systems you use. To copy or delete it later, click the ⋯ button next to the profile.

Create a Linear Issue
Section titled “Create a Linear Issue”- Open a test, suite, or run, click the ⋯ button in the top-right corner, and select Link to Issue.
- On the Create new issue tab, pick your Linear profile.
- Enter the title and description.
- Click Show Optional Fields to fill in more Linear fields.
- Click Create Issue.

| Field | What it sets |
|---|---|
| Status | The workflow state of the issue. |
| Priority | How urgent the issue is. |
| Assignee | Who works on it. |
| Labels | Linear labels. |
| Project and Project milestone | Where the issue belongs in your Linear projects. |
| Cycle | The cycle the issue is planned for. |
| Estimate | The estimate, in your team’s scale. |
| Due date | When it should be done. |
| Parent issue | A parent issue, by URL or ID. |
The lists show only the values of your connected team. If your team doesn’t use estimates, the Estimate field is turned off.
Link an Existing Issue
Section titled “Link an Existing Issue”- Open a test, suite, or run.
- Click the ⋯ button in the top-right corner and select Link to Issue.
- Open the Link existing issue tab.
- Paste the Linear issue URL or key, such as
QA-1, into Issue URL or ID. - If the project has more than one Linear profile, select a profile in Integration.
- Click Link Issue.

The Integration field shows only when two or more Linear profiles match the issue. Testomat.io links the issue with the profile you select. In Linear, the activity shows the user of that profile.
If you do not select a profile, you see the message “Please select an integration for this issue”. Select a profile and click Link Issue again.
Raise a Defect
Section titled “Raise a Defect”- In a manual run, open a failed test and click Raise Defect.
- Pick your Linear profile.
- Click Show Optional Fields to set Linear fields.
- Create the defect.
To link a defect that already exists, open Link existing defect and paste the key. With Tracker set to Detect automatically, Testomat.io recognizes a Linear key. If the project has more than one Linear profile, select a profile in Integration.
Track Linear Defects
Section titled “Track Linear Defects”Defects raised in Linear show up on the Defects page. Open the Linear tab to see only them, with their status, severity, and a link to each issue in Linear.
To pull the latest changes from Linear right away, click the ⋯ button in the top-right corner and select Sync Defects.

See Testomat.io Items in Linear
Section titled “See Testomat.io Items in Linear”When you link a test, suite, run, or requirement to a Linear issue, Testomat.io adds it to the issue as an attachment. Testomat.io does not post a comment, so the discussion in the issue stays clean.
Attachments show in the Resources section of the Linear issue. The title starts with the item type, such as Suite: or Test:.

| Item | Title in Linear | Subtitle in Linear |
|---|---|---|
| Test | Test: <test title> |
Last status, suite, labels, assignee, and last run time |
| Suite | Suite: <suite title> |
— |
| Run | Run: <run title> |
Run status. Passed and failed runs also show test counts. |
| Requirement | Requirement: <requirement title> |
— |
The status shows as [PASSED], [FAILED], or [SKIPPED]. A test with no runs shows no status. A run with no title shows as Run: <run ID>.
Click an attachment to see its details. To go back to the item, click Open in Testomat.

Testomat.io updates the attachment when the test status changes. When you unlink the issue or delete the test, Testomat.io removes the attachment.
Use Linear Issues as Requirements
Section titled “Use Linear Issues as Requirements”Add a Linear issue as a requirement to plan tests from it. Testomat.io imports the title and the description. See Linear as a Requirement Source.
Testomat.io also adds the requirement to the Linear issue as an attachment, together with the suites and tests linked to it. When you unlink or delete the requirement, Testomat.io removes these attachments.
Linear requirements refresh once a day. To pull the latest version right away, open the requirement, click the ⋯ menu, and select Refresh Requirement.