-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
1
-
Suggestion
Currently, the Jira API does not support indentation within table cells. It would be great if we added support for it.
Issue Summary
When we use API to create an issue and in the payload, we have a paragraph field with content type table and with indentation we get the response: INVALID_INPUT
Example of indentation:
"marks": [ { "type": "indentation", "attrs": { "level": 1 } } ]
Steps to Reproduce
- Use an API to create an issue
- Create a payload with a content type table and with indentation. Example:
{ "fields": { "customfield_10122": { "type": "doc", "version": 1, "content": [ { "type": "table", "attrs": { "isNumberColumnEnabled": false, "layout": "default", "localId": "exampleID", "width": 624 }, "content": [ { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": {}, "content": [ { "type": "heading", "attrs": { "level": 6 }, "content": [ { "type": "text", "text": "Purpose: " } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "testing purpose field" } ], "marks": [ { "type": "indentation", "attrs": { "level": 1 } } ] } ] } ] } ] } ] },
3. API call will return status 400 INVALID_INPUT
Expected Results
The issue is created and the API returns a status 200
Actual Results
API call will return status 400 INVALID_INPUT
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Form Name |
---|