Use Excel for mass Azure DevOps Work Item updates
One of my favorite features of Azure DevOps is its ability to integrate Work Item updates with Office Excel. This means you can run any canned ADO query from Excel, update the retrieved work items and then publish the updates back to ADO all from inside Excel.
Microsoft Guidance
See the following pages
- https://docs.microsoft.com/en-us/azure/devops/boards/backlogs/office/bulk-add-modify-work-items-excel?view=azure-devops&tabs=agile-process
- https://docs.microsoft.com/en-us/azure/devops/boards/backlogs/office/faqs?view=azure-devops
Install Azure DevOps Automation
Download and install Microsoft Office Integration tools by installing 2019 dev-ops automation
Create an ADO query that will execute and fill Excel
Click on the Queries in the Boards Menu
Create a Query and save it to create a named query
- I tend to create two-tier queries for Features first-level children, usually User Stories. This lets me edit user stories and change their parent relationships.
Select the additional columns you want to see in Excel. Some columns like Acceptance Criteria or long Description fields may be difficult to layout or edit from inside Excel. Some drop list fields may not be editable.
Open Excel from inside ADO
I have only seen this option while on Enterprise subscriptions. I don't have the option in my subscription. So instead we will initiate from the Excel side
Configure Microsoft Excel to talk with ADO
Click on New List
Add your server
Log in using the prompted integrated login panel
Close the panel
Run the Query
Select the Team Collection and Project and click on Connect
Select the previously saved query
Edit in Excel
This screen resulted from my Feature/Child work item query.
- The Title columns specify the relationship.
- Items with Title 2 are children of the closest Title 1 line above them.
- You can reparent by moving a row under a different out-dented row
- State, AssignedTo, Tags and others select lists can be set in Excel
- You cannot change a work item type in Excel
- You can create new blank roles.
- The system will apply IDs when the spreadsheet is published to the server.
Comments
Post a Comment