I am using a V3 rest API to create a Jira ticket. I need to add multiple mentions in the description. I can add one mention in the description but when I try to add two, Jira complains that "There was an error parsing JSON. Check that your request body is valid." Can somebody please tell me what is wrong with the body. Thanks!
{ "update": {}, "fields": { "summary": "Test JIRA ticket", "issuetype": { "name": "Task" }, "project": { "key": "BRETRO" }, "reporter": { "id": "BCD-ABC-ABC-ABC" }, "assignee": { "id": "XYZ-ABC-ABC-ABC" }, "description": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "text": "Description", "type": "text" }, { "type": "hardBreak" }, { "type": "mention", "attrs": { "id": "ABC-ABC-ABC-ABC" } }, { "type": "text", "text": " " }, { "type": "mention", "attrs": { "id": "ABC-ABC-ABC-DEF" } } ] } ] } } }