![]() |
VOOZH | about |
Integrate Linear with Error Tracking to create and link Linear issues to Error Tracking issues. With this integration, you can:
Create a Linear issue directly from the issue panel to group investigation efforts on that issue:
After the Linear issue is created, it is linked to the Error Tracking issue and appears in the issue panel. The Error Tracking issue status automatically changes to REVIEWED.
When an Error Tracking issue is linked to a Linear issue, the state, assignee, and comments are two-way synced. For details, see State two-way sync between Error Tracking issues and Linear issues.
Attach multiple Error Tracking issues to a single Linear issue to group correlated issues into a single unit of work:
When several Error Tracking issues are linked to a single Linear issue, the state, assignee, and comments are two-way synced. For details, see State two-way sync between Error Tracking issues and Linear issues.
The relationship between Linear issues and Error Tracking issues is a 1:N relationship. A single Linear issue can be linked to multiple Error Tracking issues, but an Error Tracking issue can be linked to only one Linear issue.
If two-way sync is enabled and configured between Datadog and Linear teams, the states of Error Tracking issues and Linear issues are mirrored. If you encounter unexpected behavior, see the Troubleshooting section for how to fix your configuration.
When a single Error Tracking issue is linked to a Linear issue, their states are two-way synced. The mapping between these states can be configured in the Data Sync settings of the Linear issue creation form:
When multiple Error Tracking issues are linked to the same Linear issue, their states sync depending on the action you take. If you update the status of the Linear issue, all linked Error Tracking issues are updated to mirror this state according to your mapping.
Assuming that your mapping is defined as follows:
| Case Management status group | Linear issue state |
|---|---|
Open | Todo |
In Progress | In Progress |
Closed | Done |
If you update the state of an Error Tracking issue, the resulting state of other linked Error Tracking issues and the Linear issue follows these rules:
| Initial state | Action | Resulting state |
|---|---|---|
The Linear issue is Done and all linked Error Tracking issues are Resolved. | Update one Error Tracking issue to For Review. | The Linear issue changes to Todo. The other linked Error Tracking issues remain Resolved. |
The Linear issue is Todo and all linked Error Tracking issues are For Review. | Update one Error Tracking issue to Resolved. | The Linear issue stays Todo. The updated Error Tracking issue is Resolved; the others remain For Review. |
The Linear issue is Done, and an unlinked Error Tracking issue is For Review. | Link the For Review Error Tracking issue to the Linear issue. | The Linear issue stays Done. All linked Error Tracking issues are Resolved, including the newly linked one. |
The Linear issue is Todo, and an unlinked Error Tracking issue is Resolved. | Link the Resolved Error Tracking issue to the Linear issue. | The Linear issue stays Todo. The other linked Error Tracking issues remain For Review, and the newly linked one stays Resolved. |
If you experience unexpected behaviors using ticketing systems with Error Tracking, see the following troubleshooting steps. If you continue to have trouble, reach out to Datadog support.
If you experience syncing issues between your Linear issues and the corresponding Error Tracking issues (such as the Error Tracking issue state not being updated when you close the Linear issue), verify that the following steps are all properly configured:
In the issue panel, make sure that the Error Tracking issue is correctly linked to the Linear issue.
Verify that Case Management is correctly configured to sync with Linear.
Datadog automatically creates a Case Management case to link Error Tracking issues and Linear issues. To check the configuration:
In Case Management settings, make sure that sync between Case Management and Linear is enabled for this project. Check that the fields you want to sync are configured for two-way sync between Datadog and Linear.
In your Linear settings, check that a webhook is configured to automatically sync updates between Datadog and Linear. If the webhook is missing, add a Linear webhook.
Additional helpful documentation, links, and articles:
| |