To create a bar chart that shows the number of bugs created and closed per Sprint in Azure DevOps, you will need to utilize queries to gather the relevant data across multiple sprints. Here’s how you can achieve this:
- Create Queries for Bugs: You can create queries to filter bugs based on their creation and closure dates. For example, you can create a query that lists bugs created in each sprint by using a date filter that corresponds to the sprint dates.
- Use the query editor to set conditions like
Created Date >= [Start Date of Sprint] AND Created Date <= [End Date of Sprint]for each sprint. - Similarly, create another query for bugs that were closed during each sprint using the
Closed Date.
- Use the query editor to set conditions like
- Charting the Data: Once you have the queries set up, you can create charts based on these queries. Azure DevOps allows you to create status or trend charts from the query results.
- You can add these charts to your dashboard, ensuring that they reflect the counts of bugs created and closed for each sprint.
- Adding to Dashboard: After creating the necessary charts, you can add them to your dashboard. You can use the Query Results widget to display the results dynamically, or you can create specific charts for better visualization.
By following these steps, you should be able to visualize the trends of bugs created and closed across different sprints, allowing you to draw insights on how many bugs are appearing in each sprint.
References: