Offer: Virgo is available for free to use within your infrastructure. Book a demo

GitLab

The GitLab connector brings groups, projects, merge requests, issues, commits, and notes into the graph. It stays current through a webhook.

Entities

EntityRepresentsKey fields
gitlab_groupA groupfull_path, name, visibility
gitlab_projectA projectfull_path, name, description
gitlab_userA personusername (id), name, email
gitlab_commitA commitsha (id), message, authored_date
gitlab_merge_requestA merge request (aliases MR, PR)mr_id, title, status, source_branch
gitlab_issueAn issue (alias ticket)issue_id, title, status
gitlab_noteA comment on an MR or issuebody, created_at

Relationships

RelationTarget
in_groupgitlab_group
in_projectgitlab_project
authored_by, reviewed_by, assigned_togitlab_user
has_commitgitlab_commit
has_notegitlab_note

Exposing for linking

GitLab exposes three entities so other sources can reference them:

  • gitlab_merge_request is recognized from !123, MR !123, or a merge request URL.
  • gitlab_issue is recognized from #123 or an issue URL.
  • gitlab_commit is recognized from a full or short commit SHA, or a commit URL.

See Cross-domain linking.