我有一个必须更新的自定义字段,我一直收到以下消息:
response text = {"errorMessages":["Internal server error"],"errors":{}}
在这一行之后:
issue.update({"customfield_10201": '0.0'})
不过,如果我只放一个简单的字符串,比如:
issue.update({"customfield_10201": 0.0})
我收到这样的信息:
response text = {"errorMessages":["Internal server error"],"errors":{"customfield_10201":"data was not a string"}}
根据jira,这是字段的类型:
{"required":false,"schema":{"type":"any","custom":"SMTH.jira.plugins.componentversionmanager:elementversioncft","customId":10201}
发布于 2020-01-07 23:59:25
首先,欢迎访问stackoverflow.com网站;-)
基于Jira Python客户机文档,您需要以这样的方式更新问题字段:
issue.update(customfield_10201='0.0')
如果您有进一步的麻烦,请指定以下内容:
https://stackoverflow.com/questions/59627884
复制相似问题