Linear
This integration is available starting with Allure TestOps version 26.3.1.0
The 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 Allure TestOps defects.
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 the required permissions for the key.
- Select the 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,
https://linear.app; - Endpoint for GraphQL API calls:
https://api.linear.appfor Linear Cloud, or the proxy endpoint approved by your organization. Do not add/graphqlto the address, Allure TestOps adds it when it calls the Linear GraphQL API.
Click Add integration.
3. 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 Allure TestOps project.
- In the Personal API key field, paste the API key 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.
- In the Personal API key field, paste the API key from step 1.
- Click Test connection. If the credentials are correct, a "Connection established" message appears.
- Save the project integration.
Verify the integration
Check both the link flow and the defect flow:
- Open a test case in Allure TestOps and add an issue link.
- Confirm that the Linear picker finds Linear issues by issue ID or by a part of the issue name.
- Open a launch in Allure TestOps, click Edit, and add an issue link.
- Confirm that the Linear picker finds Linear issues by issue ID or by a part of the issue name.
- Open a defect in Allure TestOps and confirm that the Linear integration can create a new Linear issue or link the defect to an existing one.
Related pages
- Issue trackers for the broader issue-linking model.
- Links, issues, and relations for how linked issues appear in Allure TestOps.
- Defects for defect workflows.
© Qameta Software Inc. All rights reserved.