[Confluence Rest] create a status macro in a table

Hi,

I want to create a status macro in a table in a confluence page by script.

I use this Rest api https://github.com/pushrodtechnology/PythonConfluenceAPI.git

I write this template:

------------------------
h1. Image

{status:colour=Yellow |title=Not tested|subtle=false}

{details:hidden=false|label=image}
Status  : {status:colour=Yellow |title=Not tested|subtle=false}
Manual status : status created later with the web interface
{details}
------------------------

As we can see on the picture, with the script, I can create a status macro outside the table but not inside. Insinde, it looks like a status macro but it's not one.

Manually, with the web interface I can create a Status Macro inside the table.

My confluence version is 5.9.9

How can I create a status macro inside a table with rest api?

 

Regards.

Thierry

 

stautmacro_inside_table3.png

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

468 views 6 6
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