This PR fixes the following issues with content extraction from JIRA issues:
When using API version 2, comment body text is not extracted.
When using API version 3, issue description is not extracted.
This is because API version 3 returns ADF for issue descriptions and comment bodies, whereas API version 2 returns plain text. #1329 addressed the problem with comments for API version 3 but broke comment extraction when using API version 2.
Note that this PR does not address the problem with the currently used ADF conversion function being broken (#1677), so using JIRA API version 3 still isn't advised.
This PR fixes the following issues with content extraction from JIRA issues:
This is because API version 3 returns ADF for issue descriptions and comment bodies, whereas API version 2 returns plain text. #1329 addressed the problem with comments for API version 3 but broke comment extraction when using API version 2.
Note that this PR does not address the problem with the currently used ADF conversion function being broken (#1677), so using JIRA API version 3 still isn't advised.