问题
Our company is transitioning from TFS on-premises to Azure Devops Service so all of our internal team reporting that uses the TFS_Warehouse will no longer work. I am able to pull work item information from analytics views, but do not know how to pull data such as Iteration data (formerly in DimIteration in TFS_Warehouse) into Power BI. Can anyone assist? I'm starting from scratch here with very little knowledge about Azure Devops or using Power BI outside of R scripting or Import queries from SQL Server, so as much information as anyone could provide on how to do this through Power BI & Azure Devops would be most appreciated.
Thanks!
回答1:
You can refer to this documents to check about project and team iterations/areas information in azure devops.
You can get the iterations information by calling Restful Api
curl -u {username}[:{personalaccesstoken}]https://dev.azure.com/{organization}/{project}/{team}/_apis/work/teamsettings/iterations?api-version=5.1
You can refer here to get started with Azure DevOps Services REST API.
Check the instructions here to get your PAT(personal access token)
To import the iteration data into powerBI, You can try below steps.
Choose Get Data From Web, and enter the url and authentication header.
Hope you will find above helpful!
来源:https://stackoverflow.com/questions/58527971/how-do-you-get-dimiteration-table-information-from-azure-devops-services-into-po