-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
2
-
Severity 3 - Minor
-
Issue Summary
As per the next documents
- https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get
- https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-issueidorkey-get
Using expand=renderedFields as parameter in the request, converts field values to HTML, but the result is not correct as per the content of the field
Steps to Reproduce
- add ?expand=renderedFields to the endpoint URL
For example:
"description": "| | |\n|!https://URL.aha.io/attachments/.../.../...?size=original|width=367,height=183!|{color:#034a59}*Outcome - updated in Jira*{color}\n{color:#034a59}Optimize job postings to motivate users to submit candidates.{color}\n\n{color:#034a59}*Current:*{color}\n{color:#034a59}edited string{color}\n\n{color:#034a59}*Solution*{color}\n{color:#034a59}edited string{color}\n\n{color:#034a59}*Why is this a Priority?*{color}\n\n* {color:#034a59}Because it will save time for everyone{color}\n* {color:#034a59}It's cool{color}\n\n\n\n{color:#034a59}*Key Stakeholder*{color}\n{color:#034a59}String 1, String 2, String 3{color}\n\n{color:#034a59}*Next Steps*{color}\n\n* {color:#034a59}Automate action items to have system complete when appropriate - test{color}\n\n\n\n{color:#034a59}*Prototype:*{color}[{color:#00b9da}+Link+{color}|https://www.edited_ULR.com/file/.../ALGO-95---Job-Insights-Time-to-Fill-Addition?type=design&node-id=10-0&mode=design]|"
gets converted to
"description": "<div class='table-wrap'>\n<table class='confluenceTable'><tbody>\n<tr>\n<td class='confluenceTd'> </td>\n<td class='confluenceTd'> </td>\n</tr>\n<tr>\n<td class='confluenceTd'><span class=\"image-wrap\" style=\"\"><img src=\"https://URL.aha.io/attachments/.../.../...?size=original\" height=\"183\" width=\"367\" style=\"border: 0px solid black\" /></span></td>\n<td class='confluenceTd'><font color=\"#034a59\"><b>Outcome - updated in Jira</b></font><br/>\n<font color=\"#034a59\">Optimize job postings to motivate users to submit candidates.</font></td>\n</tr>\n</tbody></table>\n</div>\n\n\n<p><font color=\"#034a59\"><b>Current:</b></font><br/>\n<font color=\"#034a59\">edited string</font></p>\n\n<p><font color=\"#034a59\"><b>Solution</b></font><br/>\n<font color=\"#034a59\">edited string</font></p>\n\n<p><font color=\"#034a59\"><b>Why is this a Priority?</b></font></p>\n\n<ul>\n\t<li><font color=\"#034a59\">Because it will save time for everyone</font></li>\n\t<li><font color=\"#034a59\">It's cool</font></li>\n</ul>\n\n\n\n\n<p><font color=\"#034a59\"><b>Key Stakeholder</b></font><br/>\n<font color=\"#034a59\">String 1, String 2, String 3</font></p>\n\n<p><font color=\"#034a59\"><b>Next Steps</b></font></p>\n\n<ul>\n\t<li><font color=\"#034a59\">Automate action items to have system complete when appropriate - test</font></li>\n</ul>\n\n\n\n\n<p><font color=\"#034a59\"><b>Prototype:</b></font><a href=\"https://www.edited_ULR.com/file/.../ALGO-95---Job-Insights-Time-to-Fill-Addition?type=design&node-id=10-0&mode=design\" class=\"external-link\" rel=\"nofollow noreferrer\"><font color=\"#00b9da\"><ins>Link</ins></font></a>|</p>"
Expected Results
The table format should be respected
Actual Results
The HTML prints an empty table and then the content outside the table
Workaround
Currently, there is no known workaround for this behavior
- is related to
-
JRACLOUD-83203 [Tracked in Issue Links] Jira Cloud bugs re expand=renderedFields
- Gathering Interest