Rest API doesn't return the correct rendered fields

Hello.
I created an issue with wiki description like this:
image

When I tried to get the description’s value from the rest API, the HTML is not correct. For the description above the HTML is:

<p><del>All potential</del> record*s have* <em>account</em> numbers.</p>

Did you face any similar problems?

Hi @Francisco.Santos,

To remove ambiguity, can you please structure your query as a list of steps to reproduce the issue you see, followed by expected and actual results.

Regards,
Dugald

2 Likes

Hi @dmorrow,

To reproduce the issue, please follow these steps:

1 - Change an issue’s description to something like this:

image

2 - Make a request to this endpoint /rest/api/2/issue/ISSUE-KEY?expand=renderedFields

Actual result:

<p><del>All potential</del> record*s have* <em>account</em> numbers.</p>

Expected Result:

<p><del>All potential</del> record<b>s</b> <b>have</b> <em>account</em> numbers.</p>

If the format begins or ends in the middle of words, the HTML is incorrect.

Regards,
Francisco.

3 Likes