Hello community and team!
We are migrating one of our Cloud app from Jira REST API v2 to new REST API v3 and discovered that /rest/api/3/search does not render comment.body and worklog.body fields in HTML even if we pass parameter expand=renderedFields. In “renderdFields” section I get the same body format as in “fields” section:
"renderedFields": {
"comment": {
"comments": [
{
"self": "https://vkrupachqa.atlassian.net/rest/api/3/issue/10005/comment/10019",
"id": "10019",
"author": {...},
"body": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "comment "
},
{
"type": "text",
"text": "edited",
"marks": [
{
"type": "strong"
}
]
}
]
}
]
...
And it is fine in REST API v2:
"renderedFields": {
"comment": {
"comments": [
{
"self": "https://vkrupachqa.atlassian.net/rest/api/2/issue/10005/comment/10019",
"id": "10019",
"author": {...},
"body": "<p>comment <b>edited</b></p>",
...
I see that I can call GET /rest/api/3/issue/{issueIdOrKey}/comment with expand=renderedBody but we will need to do additional request for every issue and we want to avoid this.
Can you please assist me clarifying if that’s a bug or expected behavior.