I'm getting an error in a sample JSON payload using the Parse JSON function in a Power Automate flow:
{
"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": []
}
The above is a sample error I have been getting for custom fields in JIRA. Any clue how to solve it?
Looks like you have to define the schema for both integer and number. This should solve the issue.
"customfield_18478": {
"type": ["integer", "number"]
},
Reference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With