Linear
This integration is available starting with Allure TestOps version 26.3.1.0
Linear integration lets Allure TestOps link issues to test artifacts inside the Linear workspace your team uses. It covers:
- linking Linear issues to test cases, launches, defects, and mutes;
- using Linear issue search from Allure TestOps inside the configured workspace boundary to link issues to Allure TestOps entities;
- providing launch execution status to a linked issue;
- creating Linear issues from defect Allure TestOps.
1. Create the Linear API key
- In Linear, click your team name in the upper-left corner and select Settings.
- Under Personal section click Security & access.
- Under Personal API keys, click New API key.
- Select required permissions for the key.
- Select Team access for the key.
- Copy the generated API key. Save it for the next steps.
2. Add the global Linear integration
An instance administrator should:
Open Administration → Integrations in Allure TestOps.
Click + Add integration.
Select Linear.
Fill in the fields:
- Name — a stable name for the integration, for example Linear.app.
- Endpoint — the base URL of Linear:
- cloud:
https://linear.app;
- cloud:
- Endpoint for GraphQL API calls — the Linear GraphQL API Endpoint:
- cloud:
https://api.linear.app/graphqlas per Linear documentation;
- cloud:
Click Add integration.
4. Enable Linear in an Allure TestOps project
- Go to Administration → Integrations.
- Find and open your Linear integration.
- Go to the Projects tab.
- Click + next to the search field.
- Select the target TestOps project.
- Under Lists, click + Add and enter the list ID from step 2. Repeat for each list the project should search.
- In the Personal API Token field, paste the token from step 1.
- Click Test connection. If the credentials are correct, a "Connection established" message appears.
- Click Add integration.
In an Allure TestOps project.
- Go to Settings → Integrations.
- Under Available integrations, find the Linear integration and click Add integration.
- Under Lists, click + Add and enter the list ID from step 2. Repeat for each list the project should search.
- In the Team ID field, enter the team ID from step 2.
- In the Personal API Token field, paste the token from step 1.
- Click Test connection. If the credentials are correct, a "Connection established" message appears.
- Save the project integration.
Verify the integration
Use both — a link flow and a defect flow:
- Open a test case in Allure TestOps and add an issue link.
- Confirm that the Linear picker can find tasks from Linear side based on task ID or partial issue name.
- Open an Allure TestOps Launch (Edit) add an issue link.
- Confirm that the Linear picker can find tasks from Linear side based on task ID or partial issue name.
- Open a defect in TestOps and confirm that the Linear integration can either create new tasks or link defect to existing tasks on Linear side.
Related pages
- Issue trackers for the broader issue-linking model.
- Links, issues, and relations for how linked issues appear in TestOps.
- Defects for defect workflows.
© Qameta Software Inc. All rights reserved.