Using WikiMarkUp to create tables with merged column headers

Sarah Hunt September 3, 2013

Hi,

When I create a table using Confluence I can merge the cells of the top row, and then have split cells beneath for individual column headers.

The Confluence xml source code views as below:

<table>
<tbody>
<tr>
<th> </th>
<th colspan="6" style="text-align: center;">Fruit</th></tr>
<tr>
<td class="highlight" colspan="1"><span>Quantity</span></td>
<td class="highlight" colspan="1">Apples</td>
<td class="highlight" colspan="1">Pears</td>
<td class="highlight" colspan="1">Bananas</td></tr>
<tr>
<td class="highlight">1</td>
<td>Yes</td>
<td><span>Yes</span></td>
<td colspan="1"><span>NO</span></td></tr>
<tr>
<td class="highlight">2</td>
<td><span>Yes</span></td>
<td><span>NO</span></td>
<td colspan="1"><span>NO</span></td></tr>
<tr>
<td class="highlight">4</td>
<td><span>NO</span></td>
<td><span>NO</span></td>
<td colspan="1"><span>Yes</span></td></tr></tbody></table>
<p> </p>
<p> </p>
<p> </p>

When using WikiMarkUp in JIRA to create the same table it should be as simple as the below:

|| ||Fruit||
|Quantity|Apples|Pears|Bananas|
|1|Yes|Yes|NO|
|2|Yes|NO|NO|
|4|NO|NO|Yes|

However where 'Fruit' would sit across Apples,Pears & Bananas in Confluence, in JIRA this results in 'Fruit' being a column header to the second column only (Apples).

Does anyone know how to make WikiMarkUp in JIRA replicate the xml code used in Confluence to merge cells??

Many Thanks

2 answers

2 votes
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2013
As per my knowledge you can't do this directly using wiki markup. You can use third partly plugins like http://www.adaptavist.com/w/Plugins/free/content-formatting/
1 vote
Sergey Adamovski January 22, 2021

Simple answer - no, it is not possible yet (Jira v8.13.2)

There are suggestions to implement this, for "Jira Server" and "Jira Cloud", but they are both in "GATHERING INTEREST" state. Vote for these issues, and may be this feature will be implemented in the future.

JRASERVER-44004 (Jira Server)

JRACLOUD-44004 (Jira Cloud)

Suggest an answer

Log in or Sign up to answer