Is it possible to format Description field in Work Item created via the Azure DevOps API?

Aaron Gustafson 96 Reputation points Microsoft Employee
2020-12-07T19:26:09.527+00:00

I’m creating Work Items using the ADO API and am having a rough time getting the Description field to accept HTML or Markdown. Is there guidance on how to get the strings piped in form the JSON payload properly to generate the right formatting? Is sending as a string the way to go or should it be an object that defines what the formatting is? Both my HTML and Markdown are getting rendered fully as text.

Community Center | Not monitored
0 comments No comments

Answer accepted by question author
Aaron Gustafson 96 Reputation points Microsoft Employee
2020-12-07T20:24:37.127+00:00

Looks like making sure the HTML is not escaped works fine.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2020-12-07T19:28:09.43+00:00

    Devops is not currently supported here on QnA. The product group for Azure DevOps actively monitors questions over at
    https://developercommunity.visualstudio.com/spaces/21/index.html

    --please don't forget to Accept as answer if the reply is helpful--

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.