I've been using Jira REST API to update issues in Jira using v2 endpoint.
I'm passing Markdown text in API call and it updates Jira Description field fine but we found that Markdown for Numbered List is not recognized properly. Here is what we're doing:
Endpoint:
/rest/api/2/issue/ASD-1466
Method:
POST
Body:
{
"fields": {
"description": "1. Bullet A\n2. Bullet B\n3. Bullet C\n"
}
}
The issue is updated correctly but the numbered list I'm trying to pass here is simply added as regular text where 1., 2., 3. etc are part of text lines. I've also made sure to include \n at end of each item but still it is not recognized as numbered list in Jira description.
What could be wrong here, some Jira Cloud issue? (we've enabled Wiki rendered for Description field)