Using WikiMarkUp to create tables with merged column headers


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:

<th> </th>
<th colspan="6" style="text-align: center;">Fruit</th></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>
<td class="highlight">1</td>
<td colspan="1"><span>NO</span></td></tr>
<td class="highlight">2</td>
<td colspan="1"><span>NO</span></td></tr>
<td class="highlight">4</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||

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

This widget could not be displayed.
As per my knowledge you can't do this directly using wiki markup. You can use third partly plugins like
This widget could not be displayed.

follow this simple tutorial covering all about html table ...


How did this get two upvotes? It's about HTML tables, not wiki markup that will be converted to the appropriate HTML tables...The question is about wiki markup.

@Carl Gieringer exactly...people are asking for Markup solutions because markup allows easy insertion of other macros into the least, that is why I am after a Markup solution to this problem

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

105 views 1 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you