Bitbucket integration
This document shows you how to create an integration for Bitbucket within Katalon TestOps.
To set up Bitbucket integration, the Account Admin or System Admin must first connect a Bitbucket account or organization, and link the desired projects (repository, branch, or directory) to TestOps. Go to Roles for more information.
Connect a Bitbucket account to TestOps
You must have the Account Admin or System Admin role to perform this action.
To set up the connection:
- Go to Admin Settings. (You can find Admin Settings at the upper right corner of the page).
- Navigate to System > Integrations, then click + Create Integration.

-
In the Available Integration list, choose Bitbucket.
✅ A green check mark indicates that the integration is currently available.
-
Fill in the required fields to establish the connection.
- Integration Name: A custom name for the integration (max 50 characters).
- Organization Account URL: The Bitbucket workspace URL.
- Example:
https://bitbucket.org/workspace-example
- Must start with
https://
- Example:
- Bitbucket Username
- Bitbucket App Password: Used to authenticate the connection. Learn how to create an App Password
- Description (Optional): Brief description about the integration (max 255 characters).
🔁 Service Hooks will be automatically created at the project level for real-time syncing and automation.

- Click Test Connection to validate the integration.
- Once validated, click Save, or click Cancel to exit without saving any changes.
Result
To verify if the connection is active, navigate to Admin > System > Integrations. Your Bitbucket integration will be listed under the Integration list.
- If the status initially shows as Inactive, reload the page to update the status to Active.
- If the status shows Error, verify all required configuration fields, especially the App Password, and confirm it is valid and configured correctly in the account-level integration.

Configure Bitbucket integration at Project Level
Once an Account Admin or System Admin set up the Bitbucket connection, only Project Admin can configure project-level settings by linking specific repositories, branches, or directories to Katalon TestOps:
- Navigate to your specific project's UI > Settings > Integrations.

- Click the right edge of your linked connection and select New configuration (Setting icon).

- Fill in the required fields:
- Display Name: A custom name for the linked project (max 50 characters).
- URL: Navigate to the desired repository, branch, or directory from the linked Bitbucket account. Copy and paste the URL into the field for your project.
- For example: If you linked a connection under
https://bitbucket.org/katalon-test
, then the URL should look like:https://bitbucket.org/katalon-test/katalon-repo/src/main/Test%20Cases
- For example: If you linked a connection under
- (Optional) Description: Brief description about the linked project (max 255 characters).
- (Optional) Select Link existing test execution results with test cases having the exact same paths and names to enable attaching existing test run results to test cases and suites with matching paths and names in TestOps.

-
Click Proceed to sync data and finalize the connection.
- If the status initially shows as Inactive, reload the page to update the status to Active.
- If you modify the connection details and click Save, your changes will be saved, but the status may remain Inactive. To sync data and finalize the connection, click Proceed.
-
[Optional] To edit an existing linked Bitbucket integration, click the Edit (pen) icon, make the necessary changes, and click Proceed. After editing, reload the page to ensure data is refreshed.
Result
Your Bitbucket repository is now active within your project.

View test cases or test suites synced from linked Bitbucket integration
To view test cases or test suites synced from the linked Bitbucket integration, navigate to Tests > Test Cases/Test Suites.

Archive a linked Bitbucket integration
You must have the Project Admin role to perform this action.
- The status changes to Archived.
- The repository no longer appears in the Test Cases/Test Suites module.
- Any scheduled test runs in the Execution module will be automatically canceled at runtime.
To archive a linked Bitbucket integration:
- Navigate to your specific project's UI > Settings > Integrations.
- Click the right edge of your linked connection and select Archive icon.

- A confirmation dialog will appear. Click Archive if you want to move forward.
Unarchive a linked Bitbucket integration
You must have the Project Admin role to perform this action.
- The status might appear as Inactive, reload the page to update it to Active.
- If the status shows Error, verify all required configuration fields and make necessary corrections.
To unarchive a linked Bitbucket integration:
- Navigate to your specific project's UI > Settings > Integrations.
- Click the right edge of your linked connection and select Unarchive icon.
- A confirmation dialog will appear. Click Unarchive if you want to move forward.