Bitbucket Integration

Connect Bitbucket repositories and pull requests to Metalogue

Bitbucket Integration

Connect your Bitbucket workspace to index repositories, pull requests, and issues.

Quick Start

const connector = await client.createConnector({
  connector_type: 'bitbucket',
  display_name: 'Company Bitbucket',
  credentials: {
    username: 'username',
    app_password: 'xxxxxxxxxxxx',
  },
});

await client.syncConnector(connector.connector_id, true);

Synced Content

Content TypeIndexed Fields
Repositoriesname, description, readme
Pull Requeststitle, description, comments
Issuestitle, content
Snippetstitle, content

Configuration

{
  "settings": {
    "workspaces": ["workspace-slug"],
    "include_private": true
  }
}

Next Steps