By integrating Bitbucket with DX, you can analyze pull requests, repositories, and workflow data. Please visit our schema explorer to see what data DX imports—note that DX does not read or access your source code.
Prerequisites
To connect Bitbucket to DX, you need:
a Bitbucket service account
if your Bitbucket instance is behind a firewall or has IP restrictions, you need to allowlist DX IP addresses
Setup instructions
Step 1
Create a user account in Bitbucket Data Center to use as a service account.
Grant the user access to the projects that you would like imported into DX.
Step 2
Navigate to the connector setup form in DX.
Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.
Errors
The table below lists potential error codes when adding a connection in DX.
Error | Description |
| Your API credentials entered are not valid. |
| Your API token does not have the permissions required by DX. |
| Your service account does not have access to any projects or repositories. |