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:
I've found the answer in the following document: https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/status/. along with the formats for all other elements.
The correct format for the status label is:
{
"type": "status",
"attrs": {
"localId": "abcdef12-abcd-abcd-abcd-abcdef123456",
"text": "In Progress",
"color": "yellow"
}
}
(the localid has to be a unique value within the issue)
Nice one @Janco Hoekstra !
I was testing this myself, but didn't have that much time to find the answer.
Cheers for sharing!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.