[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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,353 views 2 13
Read article

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