web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I converting wo...
Power Automate
Unanswered

How do I converting work Item description from Azure DevOps into plaintext?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow that lists all work items in azure devops into a tabular form which then sends the table as an email, in HTML. Unfortunately, the description field refuses to convert into plaintext. As far as I am aware, this is because the text editor for the description field in Azure Devops is not written in markdown. Here is my flow:

adilislam61920_4-1595536021283.png

 

Which then sends the following message (I'm testing it being sent to myself):

adilislam61920_2-1595535839735.png

But the email as you can see still has the CSS information lingering on the descriptions of each work item.

adilislam61920_3-1595535950357.png

 

In Azure DevOps I have also removed all formatting from each work item (individually!). So is there a formula I can use that converts the description field to plaintext? Also I have tried the Convert HTML to Plaintext action and this does not work as it would not return a table with each consecutive description (per work item) converted in plaintext.

 

Please help!

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,631 on at

    Hi @Anonymous 

     

    DevOps stores the description file in rich text. The full reference can be found here.

     

    In this case, the rich text is storing the values encoded (for example &#x3C; instead of <), so when you set them up in the email decodes and shows <div>, for example.

     

    I don't think there's a function here that will help you with that. I can only see two solutions:

    1. Create an Azure function that converts that for you
    2. Find a web service that you can pass the string, and it returns the decoded string.

     

    If someone else here knows another solution I would also like to learn how to do it. 

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • Nathaniel Alcantara Profile Picture
    2 on at

    I'm still looking for the answer to this issue. 

  • thenecroscope1 Profile Picture
    48 on at

    I'm having the exact same issue now 😞

  • thenecroscope1 Profile Picture
    48 on at

    I was thinking this was going to take ages to resolve by using lots string manipulation methods. I just stumbled on this which seems to work for me at the minute, I need to do some more real test, but I will post here just in case I forget to post later on 🙂

    thenecroscope1_0-1632929428750.png

    "HTML TO TEXT" even though its markdown

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 707

#2
Haque Profile Picture

Haque 475

#3
Valantis Profile Picture

Valantis 456

Last 30 days Overall leaderboard