[Confluence Rest] create a status macro in a table

Thierry I'm New Here Nov 24, 2017

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

264 views 11 10
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