I am trying to add a comment with a mention using the Jira API but I get INVALID_INPUT back. Here is my payload I am sending. What am I doing wrong?
{
"body": {
"content": {
"type": "paragraph",
"content": [
{
"type": "text",
"text": "From me: This is a test with a mention @John Doe Did you get this?"
},
{
"type": "mention",
"attrs": {
"id": "64984646846484664",
"text": "@John Doe",
"accessLevel": ""
}
}
]
},
"type": "doc",
"version": 1
}
}
Got it working.
{
"body": {
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "From me: This is a test with a mention @John Doe Did you get this?"
},
{
"type": "mention",
"attrs": {
"id": "6469846984949498494",
"text": "@John Doe",
"accessLevel": ""
}
}
]
}
],
"type": "doc",
"version": 1
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.