I was trying to add columns in it by calling webhook with payload of variables and its value in it.
But I can see only add at the end option. So if you know any other way please tell me.
Hi @Kshitiz_ Kumar ,
If this is a native Confluence table, what you’re seeing is pretty much expected: Confluence supports inserting a column manually in the editor, but Atlassian’s public documentation does not show a dedicated webhook or API action to insert a column at a specific position inside an existing table. The documented API route is to update the page body, so for automation the usual approach is to read the current page content, modify the table structure, and send the updated page back.
So in practice, the cleanest option is either to insert the column manually in edit mode where you want it, or, if you need this fully automated, rebuild the table structure in your payload and update the whole page rather than just appending a new value at the end.
If your schema changes often, it may also be worth looking at Confluence Databases instead of a native table, since databases let you insert a field before or after another one and rearrange fields later.
And if your main issue is display order rather than storage order, a workaround is to use Simple Tables on top of the Confluence table: it can wrap a native Confluence table and lets you reorder columns with drag and drop.
Hope this helps!
Hi Clara,
Thanks a lot for the detailed explanation that really clears things up for me.
I understand now that inserting a column at a specific position isn’t supported via API and that updating the full page content is the way to go for automation. I’ll explore that approach, and also take a look at Confluence Databases and Simple Tables as you suggested.
Appreciate your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.