Integration

Lescopr × GitHub integration

Turn the errors Lescopr captures into GitHub issues, with the stack trace and labels by severity.

What the GitHub connector does

Lescopr captures uncaught exceptions and framework errors in your backend through its SDK and records them as bugs. The GitHub connector creates an issue in the repository you choose when a matching event occurs. The issue body is written in Markdown and includes the error, the stack trace, metadata about the project and links back to Lescopr, so a developer can start from the issue without opening another tool.

Labels and assignees

Issues are labelled by severity: a critical error gets bug, critical and lescopr, a high one gets bug, high-priority and lescopr, a medium one gets bug and lescopr, and a low one gets bug, low-priority and lescopr. If those labels do not exist in the repository yet, Lescopr tries to create them. You can also set assignees so new issues land with the right person.

Authentication

The connector authenticates with a GitHub personal access token that can reach the target repository. When you test the connection, Lescopr checks that the repository is accessible with that token. Prefer a token limited to the repositories that need issues over a token with access to your whole organisation.

Avoiding a flood of issues

Identical errors are grouped: when the same error happens again, Lescopr increases the occurrence count of the existing bug instead of creating a new one. Attach the GitHub rule to the events and severities that deserve a ticket, for example new bugs at high or critical severity, and send the rest to a chat channel.

Other trackers

If your team works in GitLab, Jira or Trello instead, the matching connectors create issues or cards there in the same spirit. Notion and Confluence connectors can create pages, which some teams use to keep notes on incidents next to the rest of their documentation.