Connect your Bitbucket instance to discover, configure, and import repositories.
Before you begin
Role required: sn_devops.admin or sn_devops.tool_owner
Complete the steps specified in the Getting started
section before connecting to a tool.
About this task
- Connect by using your Bitbucket instance details.
- Discover repositories.
- Configure to create the webhook in the Bitbucket repository automatically.
- Import branch and commit records.
Procedure
-
Enter the Bitbucket instance details to connect to DevOps Change Velocity by navigating to .
-
Enter a value in the Tool Namefield and fill in the tool
details.
Table 1. Create DevOps Tool form
| Field |
Description |
| Tool integration |
Tool to integrate. In this case, select
Bitbucket. |
| Tool URL |
URL of the existing Bitbucket instance to integrate. |
| Tool username, Tool password / Access token |
Login credentials of the existing Bitbucket instance. |
For a list of all the permissions required on the credentials for connecting to Bitbucket, see Bitbucket permissions in Permissions required for DevOps tools.
-
Select MID Server for an on-premises tool that is
attached to a MID Server.
Application is automatically set to DevOps and capability is set to REST.
-
Select Submit.
The tool is connected successfully.
On successful tool creation, you are taken to the tool record page.
-
If you want to control access to the tool, add the groups that must be given access to the tool in the Maintained by field on the Access tab.
The tasks the users in the groups can perform depends on the roles assigned to them.
- DevOps Tool Owner role: Can view and edit the tool.
- DevOps App Owner role: Can view the tool and can associate, discover, import historical data, and modify pipeline steps (if applicable) of the tool's objects (such as plans, repositories, and
pipelines).
- DevOps Administrator role: Can edit all tools.
- Other DevOps roles: Can view the tool.
Note: Only groups containing users with DevOps roles are available for selection in the Maintained by field.
The All App Owners can view and associate tool objects to applications option becomes available for selection if you choose to restrict access to the tool. This option enables all users having the DevOps App Owner role to access the tool. If selected, they’ll be able to view, associate, discover, import historical data, and modify pipeline steps (if applicable) of the tool's objects.
-
Select Discover to discover existing repositories for
the coding tool.
Repository records are added to the Repositories
related list.
-
Automatically configure the webhook URL in a Bitbucket repository to send notifications to the DevOps tool by selecting Configure.
Alternatively, you can choose to enable nightly polling to fetch data system for any tracked repositories by setting the Enable Polling property to Yes.
-
Select Import to import historical data from the
repository.
Imported branch records and commit records from the repository are added
to the corresponding related lists.
-
In the App field, click the lookup list and select an
App record to associate with the repository, or click New
to create one.