Hello guys,
We are trying to migrate our Connect app to Forge.
In Connect, it is possible to filter webhooks based on an entity property filter. For example, the following webhook will trigger only if the issue entity property meets the condition.
connectModules:
jira:webhooks:
- key: comment-created-webhook
event: comment_created
url: /events/comment-created
filter: issue.property[property.key].values is NOT EMPTY
However, using Forge trigger (https://developer.atlassian.com/platform/forge/manifest-reference/modules/trigger/), the entity properties is not present in the payload for the event specified in https://developer.atlassian.com/platform/forge/events-reference/product_events/#filter-out-product-events.
This would require calling issue entity properties API for each trigger to check if they are empty, resulting in a significantly higher number of API calls compared to the Connect equivalent.
Please help!!
cc @SeanBourke