A webhook with the following setup will cause app install to fail with the error “Installation failed. The app includes a Webhook module with an unsupported condition (space_property_equal_to).”
"webhooks": [
{
"event": "page_created",
"url": "/rest/webhook/page/page_created",
"conditions": [
{
"condition": "space_property_equal_to",
"params": {
"propertyKey": "app_prop_name",
"objectName": "key",
"value": "true"
}
}
]
}
]
Meanwhile, the following setup will install fine, but the condition will always resolve to false.
"webhooks": [
{
"event": "page_created",
"url": "/rest/webhook/page/page_created",
"conditions": [
{
"condition": "entity_property_equal_to",
"params": {
"entity": "space",
"propertyKey": "app_prop_name",
"objectName": "key",
"value": "true"
}
}
]
}
]
Is this a bug? Is there a known workaround?