It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need to convert HTML to Jira markup language through REST API

Hi All,


We need help in converting HTML code to Jira markup language.

An example:  To create a table in description we have HTML table code and need to convert that to Jira markup language which will create a table through REST API to update an issue.

Can anyone help with this

This is the HTML code

<!DOCTYPE html>



<h2>HTML Table</h2>

<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>


 I need to convert this to Jira Markup language like this(this will create a table)

|Alfreds Futterkiste|Maria Anders|Germany|
|Centro comercial Moctezuma|Francisco Chang|Mexico|

FYI We have tried with  com.atlassian.renderer.wysiwyg.converter.DefaultWysiwygConverter  (this was mentioned in some questions for a solution) will convert to text type, not Jira markup language.


1 answer

I'm using Jira Software 7.12.3 and this is working for me

POST /rest/api/2/issue/{issueIdOrKey}/comment
"body":"||Company||Contact||Country||\n|Alfreds Futterkiste|Maria Anders|Germany|\n|Centro comercial Moctezuma|Francisco Chang|Mexico|",
"visibility": {
"type": "role",
"value": "Administrators"


Hi  @fran garcia gomera 

It will work if you provide ' | ' between words.

my question is If I have an HTML code how do I convert that to Jira markup language.

Sorry, i didn't understand your question properly.

Hope you find a solution.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you