Details
-
Bug
-
Resolution: Invalid
-
Low
-
None
-
Minor
-
Description
Issue Summary
Webhooks can't be defined using the space_property_equal_to condition.
Steps to Reproduce
- Define a webhook as follows:
"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" } } ] } ]
Expected Results
The descriptor is valid.
Actual Results
Installation failed. The app includes a Webhook module with an unsupported condition (space_property_equal_to).
Workaround
Define the webhook as:
"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" } } ] } ]
Attachments
Issue Links
- is caused by
-
AC-1824 Loading...