Forums

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

Insert status label macro over rest api in jira cloud

Janco Hoekstra
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!
July 3, 2025

Hi community,

I'm trying to insert a status label macro into a multi line textfield (rich text enabled) over rest api using the following payload:


{
    "type": "status",
    "attrs": {
        "colour": "Green",
        "title": "On track",
        "subtle": "true"
    }
}

using https://support.atlassian.com/confluence-cloud/docs/insert-the-status-macro/
document as reference for the type and parameters.

This however does not work...

Does anyone know the right format of the json payload to make this happen? 

P.S. I managed to insert other macro's in quiet the same way, so I suspect that the type or the format of the parameters is not right...

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events