【发布时间】:2022-06-13 05:04:16
【问题描述】:
我正在尝试通过发送 ADF 表来更新问题描述。我的javascript代码如下。
{
"fields" : {
"description": {
"version": 1,
"type": "doc",
"content": [
{
"type": "table",
"attrs": {
"isNumberColumnEnabled": false,
"layout": "default"
},
"content": [
{
"type": "tableRow",
"content": [
{
"type": "tableCell",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": " Row one, cell one"
}]
}]
},
{
"type": "tableCell",
"attrs": {},
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Row one, cell two"
} ]
}]
}]
}]
}]
}
}
}
我得到的错误是“description”:“Operation value must be a string”。不确定我做错了什么,因为看起来我的 ADF 格式正确。
这是通过rest api调用jira cloud。
【问题讨论】:
标签: jira