[在Power Automate流程中使用Parse JSON
函数的示例JSON有效负载中出现错误:
{
"message": "Invalid type. Expected Integer but got Number.",
"lineNumber": 0,
"linePosition": 0,
"path": "issues[0].fields.customfield_18478",
"value": 1,
"schemaId": "#/properties/issues/items/properties/fields/properties/customfield_18478",
"errorType": "type",
"childErrors": []
}
以上是我在JIRA中自定义字段遇到的示例错误。任何线索如何解决?
好像您必须为integer
和number
定义架构。这应该可以解决问题。
"customfield_18478": {
"type": ["integer", "number"]
},