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

Bitbucket

The Bitbucket connector brings workspaces, repositories, pull requests, commits, and comments into the graph. It stays current through a webhook.

Entities

EntityRepresentsKey fields
bitbucket_workspaceA workspaceslug, name
bitbucket_repositoryA repositoryfull_name, description, main_branch
bitbucket_userA personaccount_id (id), display_name, email
bitbucket_commitA commithash (id), message
bitbucket_pull_requestA pull request (aliases PR, MR)title, status, source_branch, destination_branch
bitbucket_commentA pull request commentbody, path

Relationships

RelationTarget
ownerbitbucket_workspace
authored_by, reviewed_by, commented_bybitbucket_user
in_repositorybitbucket_repository
has_commitbitbucket_commit
has_commentbitbucket_comment
on_prbitbucket_pull_request

Exposing for linking

Bitbucket exposes two entities so other sources can reference them:

  • bitbucket_pull_request is recognized from pr#123, pull request #123, or a pull-request URL.
  • bitbucket_commit is recognized from a full or short commit hash, or a commit URL.

See Cross-domain linking.