Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
vbvbvb
Microsoft Employee
Microsoft Employee

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):

vbvbvb_0-1666187285324.png

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!

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vbvbvb ,

 

Please refer to the following post that may be helpful to you:

Solved: How to connect Azure DevOps REST API in to power b... - Microsoft Power BI Community

Retrieve long text fields from Azure DevOps in PowerBI (linkedin.com)

How do I converting work Item description from Azu... - Power Platform Community (microsoft.com)

 

Best Regards,

Neeko Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

View solution in original post

4 REPLIES 4
vbvbvb
Microsoft Employee
Microsoft Employee

I gave a 2nd look at 2nd article "Retrieve long text fields from Azure DevOps in PowerBI (linkedin.com)" -- after changing Privacy levels, it works and it is best step-by-step tutorial for this issue out there. Thanks for reference!

Thanks for highlighting the privacy level might need changing for it to work. I added this to the notes in the article, which I omitted previously.

Anonymous
Not applicable

Hi @vbvbvb ,

 

Please refer to the following post that may be helpful to you:

Solved: How to connect Azure DevOps REST API in to power b... - Microsoft Power BI Community

Retrieve long text fields from Azure DevOps in PowerBI (linkedin.com)

How do I converting work Item description from Azu... - Power Platform Community (microsoft.com)

 

Best Regards,

Neeko Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

vbvbvb
Microsoft Employee
Microsoft Employee

Hello @Anonymous ,

 

Solution 1 is not working, query to that API return empty JSON:

vbvbvb_0-1666251851798.png

vbvbvb_1-1666251874493.png

 

Source 2 fails after addin bit with VSTS code, first asks for data privacy classicification, then shows: 

vbvbvb_2-1666252725825.png

Solution 3 has interesting potential, but need to be tested. Will try later and confirm.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.