ALM IntegrationsAzure DevOps Server (Team Foundation Server) Integration

Azure DevOps Server (Team Foundation Server) Integration

Azure DevOps Server, previously known as Team Foundation Server (TFS) and Visual Studio Team System (VSTS), is a comprehensive suite of tools designed for software development and project management. It provides capabilities for source control, project tracking, continuous integration, and deployment, facilitating collaboration among development teams.

This article guides you through creating an issue by integrating algoQA with Azure DevOps.

Prerequisites

Sign into Azure DevOps

Perform the following:

Enter https://azure.microsoft.com/en-us/ into the browser address bar.

Click the Sign in button in the top-right corner.

You will be signed in automatically if you are using a Microsoft account.

If not, create one.

If you are unable to find it in the Azure Services list, you can search in the Search bar.

Azure portal search results showing Azure DevOps organizations option under Services

Click the My Azure DevOps Organizations link.

Azure DevOps page with the My Azure DevOps Organizations link highlighted

Fill in the additional details in the following screen and click Continue.

We need a few more details form with name, email and country fields for Azure DevOps signup

Create a New Organization and a Project

Perform the following:

The Get Started with Azure DevOps screen appears.

In this screen, click the Create New Organization button.

Azure DevOps profile page with Create new organization button highlighted

Taking you to your Azure DevOps organization screen appears.

Azure DevOps loading screen showing account email and Taking you to your Azure DevOps organization message

You can update the Azure DevOps organization name. By default, your email ID will be displayed in the Name your Azure DevOps organization text box. Enter the characters in the Captcha text box and click Continue to view the Create a Project screen.

Azure DevOps Almost done screen with organization name field highlighted and Continue button

Project name screen is displayed.

Enter the Project name in the following format and click the Create Project button.

Create a project screen with Project name field, Public/Private visibility options and Create project button

For each project, Overview, Summary, Dashboards, Wiki, Boards, Repos, Pipelines, Test Plans and Artifacts modules are displayed.

Azure DevOps TestManagement project page with left navigation modules highlighted

Generate and save your Personal Access Token Information

Perform the following:

Navigate to the User Settings and select Personal access tokens option.

Azure DevOps user settings menu with Personal access tokens option highlighted

In this window, select the New Token button.

Azure DevOps Personal Access Tokens page with no tokens and New Token button

New Token window appears.

In this window, enter the name, select the Full access option, and click Create.

Create a new personal access token dialog with Full access scope selected and Create button

Success window appears.

In this window, copy the code by clicking the copy icon and save it in a notepad for future use.

Success dialog showing a personal access token with copy icon highlighted and Close button

Azure DevOps Integration with algoQA

Configure Application Settings File

Perform the following:

  1. In the algoQA script generated folder, navigate to the ApplicationSettings.xml file as shown in the example screenshot.
  2. In this screen, you must:
    • Set the AzureIntegration parameter to true.
    • Replace the OrganizationName, ProjectName, and PersonalAccessToken details with the actual values, which were configured in the prerequisite steps.
    • For example, after configuring the prerequisites, the URL will be displayed as https://dev.azure.com/parimalabc/TestManagement. In this URL, "parimalabc" is the organization name, and "TestManagement" is your project name.
      ApplicationSettings XML file with AzureTFSIntegration and AzureIntegrationTFSCredentials fields highlighted

Create an Issue

Perform the following:

In the left pane, navigate to the Boards option and select Work Items to create an issue.

Azure DevOps Boards menu with Work items option highlighted
Azure DevOps Boards menu with Work items option highlighted

In this screen, select the New Work Item and select Issue from the dropdown list.

New Work Item dropdown with Epic, Issue and Task options, Issue highlighted

Issue details.

In this screen, you must add a title, description, priority, efforts in story points, links and attachments if required.

Azure DevOps work item Verify cart details with To Do state and Save button