Overview
The GitLab connector creates GitLab Issues directly from Lescopr incidents and bug reports.
It uses a personal or project Access Token with api scope to interact with any project you have access to.
Key features:
- Automatic issue creation with labels
- Auto-close on incident resolution
- Support for GitLab.com and self-hosted instances
Setup
Go to Settings → Connectors → GitLab in your Lescopr dashboard. Provide your GitLab URL (use https://gitlab.com for GitLab.com), the numeric project ID, and an access token with api scope.
Lescopr Dashboard → Settings → Connectors → GitLab
bash
GitLab URL: https://gitlab.com # or your self-hosted URL
Project ID: 12345678 # numeric project ID
Access token: glpat-xxxxxxxxxxxx # personal or project token (api scope)Events & notifications
- Incident created → New GitLab issue opened with
lescoprlabel - Bug report created → Issue opened with
buglabel - Incident resolved → Issue automatically closed
- Incident assigned → GitLab issue assignee updated