V3 endpoint:
/rest/api/3/issue/MAB-4/transitions'
V3 request body (copy-pasted from docs):
{
"update": {
"comment": [
{
"add": {
"body": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "Bug has been fixed",
"type": "text"
}
]
}
]
}
}
}
]
},
"transition": {
"id": "61"
}
} Doing a POST request to the above endpoint results to this (with a 404 status code):
{"errorMessages":[],"errors":{"comment":"Comment body is not valid!"}}
With v2 API, transitioning an issue with a comment works fine, i.e.,
Endpoint:
/rest/api/2/issue/MAB-4/transitions
Request Body:
{
"update": {
"comment": [
{
"add": {
"body": "Eto ay comment gamit ang v2 API"
}
}
]
},
"transition": {
"id": "61"
}
}