Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence page creation using REST API fails

Sumit Ganjave
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2019

Hi Team,

I am trying to create a confluence page using HTML content that has a table.

Page with simple table is getting created but when I use rowspan, it fails.

Below is the HTML table.

<table>
 <tr>
 <td>
 <strong>Test class</strong>
 </td>
 <td>
 <strong>Test method</strong>
 </td>
 <td>
 <strong>Test Description</strong>
 </td>
 <td>
 <strong>Status</strong>
 </td>
 </tr>
  
 <tr>
 <td rowspan="2"> ReferenceId 1 Test</td>
 <td>dummyMethod1A</td>
 <td>Dummy test method of AD</td>
 <td>Pass</td>
 </tr>
  
 <tr>
 <td>dummyMethod1A</td>
 <td>Dummy test method of AD</td>
 <td>Pass</td>
 </tr>
  
 <tr>
 <td>ReferenceId 2 Test</td>
 <td>dummyMethod2A</td>
 <td>Dummy test method of AD</td>
 <td>Pass</td>
 </tr>
 </table>

Confluence version is 6.8.8

Thanks,

Sumit

1 answer

0 votes
Kiran Panduga {Appfire}
Community Champion
July 21, 2019

Hi @Sumit Ganjave , 

Are you using the above HTML content in any macro ? How are you trying to add this to the Confluence page?

Thanks,

Kiran.

Sumit Ganjave
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2019

@Kiran Panduga {Appfire} Thanks for your response.

I am sending this as a content to confluence REST API, no macros are used.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events