Hello,
Today I am getting an ‘INVALID_INPUT’ / 400 error when making a PUT call to https://CLOUD_HOSTED.atlassian.net/rest/api/3/issue/CASE_NUMBER
This has been working up to today or so.
Payload is:
{
"update": {
"description": [
{
"set": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Enhancements: \n",
"marks": [
{
"type": "strong"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Risk: \n",
"marks": [
{
"type": "strong"
}
]
},
{
"type": "text",
"text": "-"
},
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Demo CleanUp - Update demo site"
}
]
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Deployment Instructions:",
"marks": [
{
"type": "strong"
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Stage deploy job: ",
"marks": [
{
"type": "strong"
}
]
},
{
"type": "text",
"text": " GREEN \n",
"marks": [
{
"type": "strong"
},
{
"type": "textColor",
"attrs": {
"color": "#36B37E"
}
}
]
},
{
"type": "text",
"text": "https://127.0.0.1/rtest/",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://127.0.0.1/rtest/"
}
}
]
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Prod deploy job: ",
"marks": [
{
"type": "strong"
}
]
},
{
"type": "text",
"text": " GREEN \n",
"marks": [
{
"type": "strong"
},
{
"type": "textColor",
"attrs": {
"color": "#36B37E"
}
}
]
},
{
"type": "text",
"text": "https://127.0.0.1/rtest/",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://127.0.0.1/rtest/"
}
}
]
}
]
}
]
}
}
]
}
}
Did something change in the formatting requirement of the payload?