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 } }
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.