Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Confluence Rest] create a status macro in a table

Thierry Haillot
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 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
TAGS
AUG Leaders

Atlassian Community Events