[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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,216 views 4 6
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