I try to create issues using jira's rest api.
using this: POST /rest/api/3/issue
I'm adding code blocks in issue description area. Using this data scheme:
```
const bodyData = {
update: {},
fields: {
description: {
type: "doc",
version: 1,
content: [
{
type: "codeBlock",
attrs: {
language: "csharp"
},
content: [
{
type: "text",
text: "source code",
},
],
},
],
},
},
};
```
It's work but i can't syntax highlight and can't edit line numbers for real lines on source document.
Can this be done? and where can i find the documentation about this description field.