Forum Discussion

vbvbvb's avatar
vbvbvb
Microsoft Employee
3 years ago
Solved

Getting Rich text or HTML fields from Azure DevOps work items to PowerBI

Hello all,

 

Looking for helop with following topic -- I am using OData query to get Analytics data from ADO: https://analytics.dev.azure.com/<org>/<project>/_odata/v3.0-preview/WorkItems

 

It works fine and does the job, however I found a need to collect comments from users which should be stored in custom field (Text - Multiple lines):

From what I found out so far, apparently OData query do not return any HTML or Long text fields, so only workaround is to use VSTS REST API query.  But unfortunately there's very scarse and unclear inforamtion on this topic - I found guide way https://endjin.com/blog/2016/07/querying-the-vsts-work-items-api-directly-from-power-bi but in my case,  it fails with obsure error after I press "Invoke".

 

Is there any clear guidance how to connect to VSTS REST API from Power BI and fetch that custom HTML field and combine with another table? Would appreciate any help!

 

 

4 Replies