The GitLab integration brings projects, merge requests, discussions, and approvals into Leanmote so DORA, flow, and collaboration metrics work the same way they do for GitHub-based teams.
What Leanmote pulls from GitLab
Projects you select for inclusion (groups and subgroups supported).
Commits and authorship.
Merge requests with open/merge/close timestamps.
Discussions, comments, and approvals.
Connect GitLab
Open
Administration → Integrations.Find GitLab under Source Control and click Connect.
Sign in to your GitLab instance (gitlab.com or self-hosted) when prompted.
Authorize the requested scopes.
Select the projects to track.
Click Save. Initial sync begins.
Self-hosted GitLab
If you run self-hosted GitLab, you'll be asked for the instance URL during the OAuth flow. Make sure that instance is network-reachable from Leanmote's IPs and that your GitLab admin has approved the application registration.
Webhooks
Leanmote configures webhooks on each tracked project so MR events arrive in near real time.
Deployment data and DORA
By default DORA counts merged merge requests as deployments. To have Deployment Frequency, Change Failure Rate and Time to Restore count your GitLab deployments instead, the organization owner chooses GitLab deployments in Settings → Organization Settings → Tabs → Metrics, under Where deployments are counted. Choosing it brings in up to a year of deployment history automatically.
Leanmote reads the deployments GitLab records for your environments. A deployment counts when a pipeline's jobs on a production environment all succeeded. GitLab places an environment in the production tier from its name (such as prod) or from deployment_tier in your .gitlab-ci.yml. There is nothing else to configure.
See Deployment Frequency and Change Failure Rate for how each metric counts them.
Common issues
Missing projects after subgroup move — re-select the new path in the integration's project list.
Webhook delivery failures — confirm your GitLab instance can reach Leanmote's webhook endpoint.
Connection details
Detail | Value |
Connection type | OAuth 2.0 with PKCE, against gitlab.com or your self-managed instance |
Who connects in GitLab | The person connecting: Leanmote reads the projects that account can see. On self-managed GitLab, a GitLab admin first creates the Leanmote Application with the scopes below. |
Who can connect in Leanmote | Owner, Manager or Team Leader. Configuring a self-managed instance: Owner or Manager. |
Write access | None: all requested scopes are read scopes. |
Scopes requested
read_api— read projects, commits, merge requests and discussions.read_user— read user profiles, to map GitLab identities to Leanmote teammates.read_repository— read repository data.profile— the connecting account's identity.read_registry— container registry read access. Leanmote doesn't use it, and it is being removed.ai_features— access to GitLab Duo features. Leanmote doesn't use it, and it is being removed.
Related articles
Integrations overview
Connect your first integrations
Sync isn't completing
