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

Notifications

Announcements

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

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,625 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard