Skip to main content

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 ). 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.

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.

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.
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.

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.

Menu

Description

Report

Select the BitBucket V2 report you want to run. The following reports are available:

Report Name Description

Get Directory Contents

Returns the list of all the directory contents on the specified commit hash.

List Account Emails

Returns the list of emails for the authenticated user.

List Account Events: Specify Username

Returns the list of user events for the specified username.

List All Public Repositories

Returns the list of all public repositories created within the last 30 days.

List All Repositories for Owner

Returns the list of all repositories for the specified owner.

List Branch Restrictions: Specify Owner and Repository Name

Returns the list of branch restrictions for the specified owner and its repository.

List Commits on a Repository for Owner: Specify Owner and Repository Name

Returns the list of all commits on a repository for the specified owner and its repository.

List Events for Repository: Specify Owner and Repository Name

Returns the list of events for the specified owner and its repository.

List Followers for Username: Specify Username

Returns the list of followers for the specified username.

List Followings for Username: Specify Username

Returns the list of followings for the specified username.

List Forks on a Repository for Owner: Specify Owner and Repository Name

Returns the list of forks on a repository for the specified owner and its repository.

List Issue Component for Repository: Specify Owner and Repository Name

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.

List Issue Milestone for Repository: Specify Owner and Repository Name

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.

List Issue Versions for Repository: Specify Owner and Repository Name

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.

List Issues for Repository: Specify Owner and Repository Name

Returns the issues in the issue tracker for the specified owner and its repository.

List Pullrequest Activities: Specify Owner and Repository Name

Returns the list of pullrequest activities for the specified owner and its repository.

List Pullrequests: Specify Owner and Repository Name

Returns the list of pullrequests for the specified owner and its repository.

List Repository Privileges

Returns the list of repository privileges.

List Team Details: Specify Team name

Returns the public information associated with the specified team.

List Team Followers: Specify Team name

Returns the list of accounts that are following the specified team.

List Team Following: Specify Team name

Returns the list of accounts the specified team is following.

List Team Members: Specify Team name

Returns all members of the specified team.

List Team Privileges

Returns team permissions a user on the team has.

List Team Repositories: Specify Team name

Returns the list of team repositories for the specified team name.

List User

Returns the details of currently logged in user.

List Users for Account: Specify Username

Returns the public information associated with the specified username.

List Watchers on a Repository for Owner: Specify Owner and Repository Name

Returns the list of all the watchers on the specified repository.

Account Name

Enter the name of the account you want to retrieve data for.

Team Name

Enter the name of the team you want to retrieve data for.

Owner Name

Enter the name of the repository owner you want to retrieve data for.

Group Name

Enter the name of the group you want to retrieve data for.

Repository Name

Enter the name of the repository you want to retrieve data for.

Report State Date

Select whether to pull data for a specific date or a relative number of days back from the date the report is run.

Select Specific Date

Select the date for the report.

Days Back

Enter the number of days back you want to pull data for every time the report is run. For example, if you entered 7 , the report would pull data for the last 7 days every time it ran.

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.