Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Services
Azure DevOps supports end-to-end traceability by allowing you to link different objects that are involved in your development process. These objects include work items, branches, commits, pull requests, builds, and releases. You can use built-in reports and Analytics to monitor the traceability of your objects in real time.
This article gives you an overview of how Azure DevOps enables and supports traceability, without going into the details of how to set up and use it. You can find links to more information throughout.
You can track the code changes, builds, and releases that are linked to a work item throughout the development lifecycle. This way, your team can see the audit trail of how the work was done or how a bug was fixed by looking at the changes in the code base.
The link types used for Git repositories—as illustrated in the following image—are Build, Found in build, Integrated in build, Branch, Commit, Pull Request, and Integrated in release stage.
You can accomplish many tasks with a single select from the product board. Shown in the following image, you can create a branch from a requirement by opening the work item card menu. When you create a branch from the default main branch, you can give it a name and a label. The branch is automatically linked to the work item with the Branch link type.
Or, select create a branch in the work item form.
Once the code changes are done in the new branch, developers can create a pull request from the work item.
Using the board and the work item to drive software development also has another benefit. It encourages developers to add comments as they work, which helps to document the changes they make and the reasons behind them. This way, the work item becomes a rich source of information and history for the code changes.
Link a test to a set of requirements and validate that the application works as expected. From the board, you can add tests to the work item. Then, you can run your new tests from the board and set the test status.
Test integration with the board makes it easy for teams to get started with manual testing and then take advantage of the full testing capabilities provided by Azure Test Plans. The board shows the test added to support the requirement when test cases are created from the board or when requirement-based test suites are created under Test Plans.
You can run automated tests in a pipeline or on demand. You can also link them to test cases in a test plan and run them from Test Plans. This way, you can track the quality of your requirements with automated tests, which is called planned testing.
After you define a pipeline to build and release the code changes, you can track the deployment of the requirement to each release stage. From the work item form, you can quickly open the links to builds and releases from the Deployment and Development control sections.
When you open the work item form, you can see the stages the requirement has been deployed to, and drill down for greater details by choosing the links. Under the Development section, you can open the branch, commit, or pull requests that have been linked to the requirement.
The Deployment control shows release information for those work items that have been associated to a Git commit, which is part of a build being released.
The following image illustrates the multiple environments that the release is targeting which the selected work item is associated with.
Manage your display options from the release settings. The work item deployment control shows you how the releases that are linked to your work items are progressing. You can see the release status for work items that have commits in the build and for release pipelines that you have set up to send deployment information to Azure Boards.
Requirements traceability provides teams insights into indicators such as quality of requirements or readiness to ship requirements. A fundamental aspect of requirements traceability is association of the requirements to test cases, bugs and code changes.
The Requirements Traceability Matrix (RTM) ensures that all requirements defined for a system are tested in the test protocols.
Requirements traceability reports are a way of showing how different phases of a development process are related and documented. They help teams to measure the quality and completeness of their requirements, and to assess their readiness for delivery. They also help to track the code changes, tests, bugs, and deployments that are linked to the requirements.
You can see the bug and the test result together in the Tests tab, in the same context. The Work Items tab also shows any requirements that are linked to the test result.
For information about bug and source traceability, see Requirements traceability.
Based on the build or release pipeline, you can choose the timeline or pipeline view to see what code changes were committed. You can analyze the code changes to identify the potential root cause of the test failure.
For information about Test Analytics for builds and releases, tracking the quality of requirements, and test failures, see Test Analytics.
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Learning path
AZ-400: Implement continuous feedback - Training
AZ-400: Implement continuous feedback
Certification
Microsoft Certified: DevOps Engineer Expert - Certifications
This certification measures your ability to accomplish the following technical tasks: Design and implement processes and communications, design and implement a source control strategy, design and implement build and release pipelines, develop a security and compliance plan, and implement an instrumentation strategy.
Documentation
Manage requirements, Agile - Azure DevOps
Learn about the tools and features available to manage requirements for Agile projects in Azure DevOps.
Requirements traceability - Azure Pipelines
Link requirements, tests, and bugs to enable requirements traceability
Link work items to other objects - Azure Boards
Learn how to link work items to user stories, bugs, remote work items, a git branch, and other elements in Azure Boards.