Search code examples
azure-devopsagile

HTML fields are not returned when using ADO API reporting/workitemrevisions


I am using the following API : https://{instance}/{proj}/_apis/wit/reporting/workitemrevisions?api-version=4.1&types=User Story

This is returning all fields on ADO instance user story except System.Description and Microsoft.VSTS.Common.AcceptanceCriteria (both HTML type). Does this API not return HTML fields or am I missing something?

I tried using API: https://{instance}/{proj}/_apis/wit/workItems/{workitemNumber} and am able to fetch these fields with PAT token so I know this is not an access issue. The documentation does not mention that HTML fields will not be returned. This is part of existing integration and was working fine earlier but for some reason these fields are not returned now.


Solution

  • Looks like the given API does not return HTML fields. It only provides non-HTML fields since send HTML fields as well will make the response very large.