Azure DevOps
Connect QA Hub to Azure DevOps to search work items (User Stories, Bugs, Tasks) from the Dashboard.
Prerequisites
- An Azure DevOps organization and project
- A Personal Access Token (PAT) with Work Items: Read scope
Generate a PAT
- Log in to dev.azure.com.
- Click your profile icon → Personal access tokens → New token.
- Grant Work Items: Read scope (read-only is sufficient).
- Set an expiry and click Create.
- Copy the token — it is shown only once.
Configure in QA Hub
- Go to Settings → Integrations.
- Select Azure DevOps as your connector.
- Fill in:
- Organization — Your ADO organization name (e.g.,
acme) - Project — Your ADO project name (e.g.,
MyApp) - PAT — Your personal access token
- Organization — Your ADO organization name (e.g.,
- Click Test connection.
- Click Save.
Searching work items
QA Hub uses WIQL (Work Item Query Language) to fetch work items:
SELECT [System.Id], [System.Title], [System.Description]
FROM WorkItems
WHERE [System.TeamProject] = 'MyApp'
AND [System.WorkItemType] IN ('User Story', 'Bug', 'Task')
AND [System.Title] CONTAINS 'your query'
Results are fetched in batches and displayed with title, type, state, priority, and description.
Acceptance criteria extraction
Azure DevOps stores acceptance criteria in an HTML field (Microsoft.VSTS.Common.AcceptanceCriteria). QA Hub strips the HTML and uses the plain text as context for AI test generation.
CSV import
Azure DevOps test case exports (.csv) can be imported directly into QA Hub:
- Go to Test Cases → Import.
- Upload the ADO CSV export.
- QA Hub parses the steps from the XML-formatted ADO cells and converts them to Gherkin
bdd_content.
This lets you migrate existing ADO test cases into QA Hub without re-generating them from scratch.