Using the rest API to create a jira issue. the content of the body uses Atlas Document Format. Everything works fine with simple Paragraph style content but when I try to insert a table element I receive the following error:
"errorMessages": [
"We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file."
Here's a sample of my basic table code block
"description": {
"content": [{
"type": "table",
"attrs": {
"isNumberColumnEnabled": false,
"layout": "default"
},
"content": [{
"type": "tableRow",
"content": [{
"type": "tableCell",
"attrs": {},
"content": [{
"type": "paragraph",
"content": [{
"type": "text",
"text": "cell text"
}]
}]
}]
}
]
}]
}
Looks like I was missing type & version in the description node. this works:
"description": {
"type": "doc",
"version": 1,
"content": [{
"type": "table",
"attrs": {
"isNumberColumnEnabled": false,
"layout": "default"
},
"content": [{
"type": "tableRow",
"content": [{
"type": "tableCell",
"attrs": {},
"content": [{
"type": "paragraph",
"content": [{
"type": "text",
"text": "cell text"
}]
}]
}]
}
]
}]
}
Hey Bob, Glad you found the issue. I am trying to use Jira Python API myself and I am unable to create tables with the new markdown. Wondering what language were you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm actually running this through Filemaker submitting cURL commands.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.