Skip to main content

Azure Repos integration

This document shows you how to create an integration for Azure Repos within Katalon TestOps.

requirements

To set up Azure Repos integration, the Account Admin or System Admin must first connect an Azure account or organization and link the desired projects (repository, branch, or directory) to TestOps. Go to Roles for more information.

Connect an Azure account to TestOps

You must have the Account Admin or System Admin role to perform this action.

To set up the connection:

  1. Go to Admin Settings. (You can find Admin Settings in the upper right corner of the page.)
  2. Navigate to System > Integrations, then click + Create Integration.
Navigate to TestOps admin integration view
  1. In the Available Integration list, choose Azure Repos.

    ✅ A green check mark indicates that the integration is currently available.

    Integration list
  2. Fill in the required fields to establish the connection.

    • Integration Name: A custom name for the integration (max 50 characters).
    • Organization Account URL: The Azure Repos workspace URL that starts with https://.
      • Example: https://dev.azure.com/your-workspace
    • Personal Access Token: Enter your Azure Repos PAT. To generate a PAT, refer to this Azure Repos PAT documentation. Please make sure the PAT has required permissions.
    • Description (Optional): Brief description of the integration (max 255 characters).

    🔁 Service Hooks will be automatically created at the project level for real-time syncing and automation.

Azure Repos integration fields account level
  1. Click Test Connection to validate the integration.
  2. 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 Azure Repos 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 Personal Access Token (PAT), and confirm it is valid and configured correctly in the account-level integration.
Bitbucket clicks on Settings

Configure Azure Repos integration at Project level

warning

Once an Account Admin or System Admin sets up the Azure Repos connection, only Project Admin can configure project-level settings by linking specific repositories, branches, or directories to Katalon TestOps.

  1. Navigate to your specific project's UI > Settings > Integrations.
Navigate to TestOps admin integration views
  1. Click the right edge of your linked connection and select New configuration (Setting icon).
Azure repos clicks on Settings
  1. 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 Azure Repos account.
    • For example: If you linked a connection under https://dev.azure.com/katalon-test, then the URL can point to a specific repository, branch, or directory. For instance:
      https://dev.azure.com/example-org/my-project/_git/my-repo?path=%2Ftests%2FTestCase&version=GBmain
  • (Optional) Description: Brief description of the linked project (max 255 characters).
  • (Optional, but recommended) 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.
Filling in required fields in System Integration UI
  1. 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.
  2. [Optional] To edit an existing linked Azure Repos 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 Azure Repos is now active within your project.
Bitbucket linked projects

View test cases or test suites synced from linked Azure Repos integration

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

Azure Devops linked in Tests folder

Archive a linked Azure Repos integration

You must have the Project Admin role to perform this action.

info

When an integration is archived:

  • The status changes to Archived.
  • The integration 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 Azure Repos integration:

  1. Navigate to your specific project's UI > Settings > Integrations.

  2. Click the right edge of your linked connection and select Archive icon. Archive Bitbucket project

  3. A confirmation dialog will appear. Click Archive if you want to move forward.
    Confirmed unarchive box

Unarchive a linked Azure Repos integration

You must have the Project Admin role to perform this action.

info

After you unarchive an integration:

  • 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 Azure Repos integration:

  1. Navigate to your specific project's UI > Settings > Integrations.

  2. Click the right edge of your linked connection and select Unarchive icon. Showing unarchive icon in System Integration list

  3. A confirmation dialog will appear. Click Unarchive if you want to move forward.
    Confirmed unarchive box

Was this page helpful?