> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# BitBucket V2 Connector

## Intro

Atlassian BitBucket V2 is a web-based hosting service used for source code and development projects that use either Mercurial or Git revision control systems.  To learn more about the BitBucket V2 API, visit their page ([https://confluence.atlassian.com/bit...222724129.html](https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html "https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html") ).

You connect to your BitBucket V2 account in the Data Center. This topic discusses the fields and menus that are specific to the BitBucket V2 connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in [Adding a DataSet Using a Connector](/s/article/360042926274 "Adding a DataSet Using a Connector").

## Prerequisites

To connect to your BitBucket V2 account and create a DataSet, you must have either BitBucket V2 or Google credentials.

## Connecting to Your BitBucket V2 Account

This section enumerates the options in the **Credentials** and **Details** panes on the BitBucket V2 Connector page. The components of the other panes on this page, **Scheduling**, and **Name & Describe Your DataSet**, are universal across most connector types and are discussed in greater length in [Adding a DataSet Using a Connector](/s/article/360042926274 "Adding a DataSet Using a Connector").

### Credentials Pane

The Domo BitBucket V2 connector uses OAuth to connect, so there is no need to enter credentials within Domo. Click **Connect** (or select **Add Account** if you have existing BitBucket V2 accounts in Domo) to open the BitBucket V2 OAuth screen where you can choose to enter either BitBucket V2 or Google credentials. Once you have entered valid credentials, you can use the same account any time you go to create a new BitBucket V2 DataSet. You can manage connector accounts in the **Accounts** tab in the Data Center. For more information about this tab, see [Manage Connector Accounts](/s/article/360042926054 "Manage Connector Accounts").

<Note>
  **Note:** If you are already logged into BitBucket V2 when you connect in Domo, you are authenticated automatically when you click **Add account**. If you want to connect to an account that is different from the one you are logged into, you must first log out of BitBucket V2.
</Note>

### Details Pane

This pane contains a primary **Reports** menu, along with various other menus which may or may not appear depending on the report type you select.

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:195;a"><thead><tr><th colspan="1" rowspan="1"><p> Menu </p></th><th colspan="1" rowspan="1"><p> Description </p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"><p> Report </p></td><td colspan="1" rowspan="1"><p> Select the BitBucket V2 report you want to run. The following reports are available: </p><table border="1" cellpadding="1" cellspacing="1"><tbody><tr><td colspan="1" rowspan="1"><b> Report Name </b></td><td colspan="1" rowspan="1"><b> Description </b></td></tr><tr><td colspan="1" rowspan="1"><p> Get Directory Contents </p></td><td colspan="1" rowspan="1"> Returns the list of all the directory contents on the specified commit hash. </td></tr><tr><td colspan="1" rowspan="1"><p> List Account Emails </p></td><td colspan="1" rowspan="1"> Returns the list of emails for the authenticated user. </td></tr><tr><td colspan="1" rowspan="1"><p> List Account Events: Specify Username </p></td><td colspan="1" rowspan="1"> Returns the list of user events for the specified username. </td></tr><tr><td colspan="1" rowspan="1"><p> List All Public Repositories </p></td><td colspan="1" rowspan="1"> Returns the list of all public repositories created within the last 30 days. </td></tr><tr><td colspan="1" rowspan="1"><p> List All Repositories for Owner </p></td><td colspan="1" rowspan="1"> Returns the list of all repositories for the specified owner. </td></tr><tr><td colspan="1" rowspan="1"><p> List Branch Restrictions: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of branch restrictions for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Commits on a Repository for Owner: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of all commits on a repository for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Events for Repository: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of events for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Followers for Username: Specify Username </p></td><td colspan="1" rowspan="1"> Returns the list of followers for the specified username. </td></tr><tr><td colspan="1" rowspan="1"><p> List Followings for Username: Specify Username </p></td><td colspan="1" rowspan="1"> Returns the list of followings for the specified username. </td></tr><tr><td colspan="1" rowspan="1"><p> List Forks on a Repository for Owner: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of forks on a repository for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Issue Component for Repository: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the components that have been defined in the issue tracker for the specified owner and its repository. This resource is only available on repositories that have the issue tracker enabled. </td></tr><tr><td colspan="1" rowspan="1"><p> List Issue Milestone for Repository: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the milestones that have been defined in the issue tracker for the specified owner and its repository. This resource is only available on repositories that have the issue tracker enabled. </td></tr><tr><td colspan="1" rowspan="1"><p> List Issue Versions for Repository: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the versions that have been defined in the issue tracker for the specified owner and its repository. This resource is only available on repositories that have the issue tracker enabled. </td></tr><tr><td colspan="1" rowspan="1"><p> List Issues for Repository: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the issues in the issue tracker for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Pullrequest Activities: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of pullrequest activities for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Pullrequests: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of pullrequests for the specified owner and its repository. </td></tr><tr><td colspan="1" rowspan="1"><p> List Repository Privileges </p></td><td colspan="1" rowspan="1"> Returns the list of repository privileges. </td></tr><tr><td colspan="1" rowspan="1"><p> List Team Details: Specify Team name </p></td><td colspan="1" rowspan="1"> Returns the public information associated with the specified team. </td></tr><tr><td colspan="1" rowspan="1"><p> List Team Followers: Specify Team name </p></td><td colspan="1" rowspan="1"> Returns the list of accounts that are following the specified team. </td></tr><tr><td colspan="1" rowspan="1"><p> List Team Following: Specify Team name </p></td><td colspan="1" rowspan="1"> Returns the list of accounts the specified team is following. </td></tr><tr><td colspan="1" rowspan="1"><p> List Team Members: Specify Team name </p></td><td colspan="1" rowspan="1"> Returns all members of the specified team. </td></tr><tr><td colspan="1" rowspan="1"><p> List Team Privileges </p></td><td colspan="1" rowspan="1"> Returns team permissions a user on the team has. </td></tr><tr><td colspan="1" rowspan="1"><p> List Team Repositories: Specify Team name </p></td><td colspan="1" rowspan="1"> Returns the list of team repositories for the specified team name. </td></tr><tr><td colspan="1" rowspan="1"><p> List User </p></td><td colspan="1" rowspan="1"> Returns the details of currently logged in user. </td></tr><tr><td colspan="1" rowspan="1"><p> List Users for Account: Specify Username </p></td><td colspan="1" rowspan="1"> Returns the public information associated with the specified username. </td></tr><tr><td colspan="1" rowspan="1"><p> List Watchers on a Repository for Owner: Specify Owner and Repository Name </p></td><td colspan="1" rowspan="1"> Returns the list of all the watchers on the specified repository. </td></tr></tbody></table></td></tr><tr><td colspan="1" rowspan="1"><p> Account Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the account you want to retrieve data for. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Team Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the team you want to retrieve data for. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Owner Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the repository owner you want to retrieve data for. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Group Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the group you want to retrieve data for. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Repository Name </p></td><td colspan="1" rowspan="1"><p> Enter the name of the repository you want to retrieve data for. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Report State Date </p></td><td colspan="1" rowspan="1"><p> Select whether to pull data for a specific date or a relative number of days back from the date the report is run. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Select Specific Date </p></td><td colspan="1" rowspan="1"><p> Select the date for the report. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Days Back </p></td><td colspan="1" rowspan="1"><p> Enter the number of days back you want to pull data for every time the report is run. For example, if you entered <span class="mt-font-courier-new"> 7 </span>, the report would pull data for the last 7 days every time it ran. </p></td></tr></tbody></table>

### Other Panes

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see [Adding a DataSet Using a Connector](/s/article/360042926274 "Adding a DataSet Using a Connector").
