Json table: Wiki markup from Jira, which contains a table, corrupts the layout of the resulting table in Confluence

Description

Trying to use json-table macro, with data source which is Jira.
In Jira the description field is rendered with wiki, so I setup the same output on json.

However- if the description (in the jira issue) contains a table, this confuses the json-table macro and that table is not confined to wothin the respective cell but rather 'merges' with the table that is created by your macro.

I attached how the data looks in Jira, and with the json-table.

This is the json:

{"lastSuccess": "2018-09-22T17:27:59.150Z","lastError": null,"nextRefresh": "2018-09-23T17:27:59.149Z","issueCount": 1,"feedId": 3,"data": [{"Description": "h1. heading 1\r\n\r\n \r\n\r\nThese are the fields which support:\r\n||Heading 1||Heading 2||\r\n|Col A1|Col A2|\r\n\r\n ","Issue_URL": "https://panda.radbeeqms.com/browse/OXP-70","Key": "OXP-70"}]}

This is the Confluence source:

<ac:structured-macro ac:macro-id="e8293596-5900-4cb5-9b4f-fc4a18fb475a" ac:name="json-table" ac:schema-version="1">
<acarameter ac:name="output">wiki</acarameter>
<acarameter ac:name="fieldPaths">Key,Description</acarameter>
<acarameter ac:name="allowExport">true</acarameter>
<acarameter ac:name="paths">data</acarameter>
<acarameter ac:name="footing">1</acarameter>
<acarameter ac:name="url">https://panda.radbeeqms.com/rest/query-feed/1.0/feeds/3/data?token=922449a2-c878-495a-aeb8-d82d2eb68f2a</ac:parameter>
<acarameter ac:name="atlassian-macro-output-type">INLINE</acarameter>
</ac:structured-macro>

Environment

Confluence 6.4.0

Assignee

Vijay Ramamurthy

Reporter

Rina Nir (AC)

Labels

None

Support Entitlement

SEN-L12363116

Components

Affects versions

Priority

Major
Configure