How to give the color to cloud jira comment using powershell?.Currently we are giving like this in code but its not working.
"body": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "{color:green}Content{color}",
"type": "text"
}
]
}
]
}
}
In On-premise we are able to give without any issue, but in cloud we are not able to give.
Any Suggestion Please ?
I never tried this before for Cloud but out of curiosity I gave it a shot. Apparently the request body should be different. Take this for example:
{"body":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Here goes the text","marks":[{"type":"textColor","attrs":{"color":"#008000"}}]}]}]},"visibility":null}
I don't think you can use plain text "green" so you need to find the hex code of the color you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.