> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/settings/integrations/issue-trackers/linear/linear-configuration.md). Agents can also search and read this documentation through its [MCP server](https://help.swarmia.com/~gitbook/mcp).

# Linear configuration

After connecting Linear, Swarmia maps your Linear statuses to its own automatically. Issue types get defaults too: projects become epics, issues become stories, and issues labeled as bugs or defects become bugs. You can change those in [Settings → Issue trackers → Issue types](https://app.swarmia.com/settings/issue-trackers/issue-types). Then assign the right issues from your workspace to the matching Swarmia teams, by Linear team or by label.

## **Configure teams**

To ensure we get the right issues for each team, we ask you to assign the Linear team (or teams) to the teams on Swarmia. This can be done for each team in [Settings → Team → Issues](https://app.swarmia.com/settings/team/issues).

Note: We only sync non-private Linear teams by default. To enable syncing private teams as well, contact our support at <hello@swarmia.com>.

{% hint style="info" %}
**Tips for structuring work in Linear**

Use projects in Linear for work that spans a longer period (weeks or months) but still has a limited scope. This way, you can use Work Log to see how your team is splitting their time between these projects. You can recognize some common patterns, like projects with only one person working on them, or projects that are not progressing due to other priorities. Use Working Agreements to help address these issues.

Add a Bug/Defect label to issues to treat them as bugs in Swarmia. Bugs are shown in their own lane in Work Log and Bug insights.
{% endhint %}

Assigning issue ownership for teams is an essential step, as only then will the Linear issues and related data be visible in Swarmia. Read more about [issue ownership](https://help.swarmia.com/settings/team/issue-ownership.md).

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2FD3AMlgPUyU7H3JHCr1NU%2FScreenshot%202026-02-02%20at%2014.09.16.png?alt=media&amp;token=d18431f5-6964-43a5-9f88-31cd5f9089d3" alt=""><figcaption><p>A team-based issue ownership assignment</p></figcaption></figure>

## Status mapping

Swarmia maps both issue and project statuses in Linear to its own four statuses. There's nothing to configure. See the current mapping in [Settings → Integrations → Linear](https://app.swarmia.com/settings/issue-trackers).

## Cycles

Linear cycles show up in [Sprints](https://help.swarmia.com/features/focus/sprints.md). A team gets the cycles of each Linear team it owns through [issue ownership](https://help.swarmia.com/settings/team/issue-ownership.md). Owning issues by label doesn't bring in cycles.

1. Assign the Linear team to your Swarmia team in [Team issue settings](https://app.swarmia.com/settings/team/issues).
2. Turn on cycles for that team in Linear. Team issue settings shows whether cycles are on for each Linear team your team owns.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2Flb69cAkXy6xGlBj79o9t%2FCleanShot%202026-11-09%20at%2013.09.50%402x.png?alt=media&amp;token=89820ff8-5740-43a5-93aa-bb40a19f5f07" alt=""><figcaption></figcaption></figure>

If a team's cycles don't show up, check that the team owns the Linear team in issue ownership and that cycles are on for it in Linear.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.swarmia.com/settings/integrations/issue-trackers/linear/linear-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
