cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamPo
Power Participant
Power Participant

Convert between HTML and Wiki Markup

Hi,

 

I'm building a flow which updates comments between connected tickets in Azure DevOps and Atlassian Jira.

 

Azure stores comments in HTML and Jira uses a Wiki markup language (same as the language used by flow approvals)

 

Does anyone have any ideas how to convert between the 2 languages using flow? (need conversion in both directions)

 

Thanks,

Sam

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi @SamPo,

 

Will suggest to use string replacement, from where if string is <br> replace with CRLF or if <h2> and </h2> replace with ## but using markdown is challenging but can be done for sure.

Another way is puttiunug some reference on your text for example:

Fruit: Apple, Color: Red, Shape: Circle,

 

from where you replace a character ',' into html syntax with a matching value in markdown syntax.

 

when you run html, replace ',' with <br> then when running markdown replace ',' with CRLF and so on.

Its going to take time if you will have a decorated format from html to markdown.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @SamPo,

 

Will suggest to use string replacement, from where if string is <br> replace with CRLF or if <h2> and </h2> replace with ## but using markdown is challenging but can be done for sure.

Another way is puttiunug some reference on your text for example:

Fruit: Apple, Color: Red, Shape: Circle,

 

from where you replace a character ',' into html syntax with a matching value in markdown syntax.

 

when you run html, replace ',' with <br> then when running markdown replace ',' with CRLF and so on.

Its going to take time if you will have a decorated format from html to markdown.

This is a good answer.

Unfortunately you need to write your own html to markdown parser. And vice Vera’s.

Question. Why use Jira when you can just use tasks in Azure DevOps?

- Mark
SamPo
Power Participant
Power Participant

Thanks to you both.

We have one large department already using Jira as their main task platform and that's not going to change any time soon hence the need for integration.

Sam

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,731)