我无法创建使用吉拉休息的API添加自定义字段,代码如下:不能新问题,以吉拉通过REST API
curl -D- -u abc:1234 -X POST https://*******.atlassian.net/rest/api/2/issue --data '
{
"fields": {
"project": {
"key": "HELLOWORLD"
},
"summary": "Test-RestAPI",
"description": "Creating Task using project keys and issue type names using the REST API",
"issuetype": {
"name": "Task"
},
"customfield_10200": { "name": "ABC" },
"customfield_10300": { "name": "ABCD" }
}
}' -H "Content-Type: application/json"
错误下面:
{"errorMessages":[],"errors":{"customfield_10300":"Operation value must be a string"}}
什么想法?
它工作:)谢谢..! – Mukul