Post HTML Issue Description with JIRA REST API v3

Hey,

I was able to implement/use the JIRA REST v3 api, it’s pretty straightforward to create Issues through the API: https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-post

The problem is that by default we can create only text based descriptions.
I noticed JIRA has it’s own rich text / mark down structured text format (ADF = Atlassian Document Format).
Since we’re using HTML in our client, we need to find a way convert HTML to JIRA “rich text” (ADF). Is there an API or a library to make this happen?

OR can JIRA api interpret standard Markdown as description?

What is the best way to do such a conversion?
Please advise.

2 Likes