Webhook specific custom fields

I would like to filter a specific custom fields when creating a webhook.
I used this example:
{
“data”: {
“filters”: [
{
“fields”: [
“custom_fields”
],
“resource_type”: “task”,
“action”: “changed”
}
],
“target”: “myendpoint”,
“resource”: “XX”
}
}

but its get all events that happened when a custom fields is changed in task filtered.

When I used this example, trying to filter the custom field “Estimated time”, didn’t work.
{
“data”: {
“filters”: [
{
“fields”: [
“estimated_time”
],
“resource_type”: “task”,
“action”: “changed”
}
],
“target”: “myendpoint”,
“resource”: “XX”
}
}
Is there any way to filter some specific custom field?

Thanks.

There is not. You can only filter to custom_fields as you’re doing, but you’ll have to do any further filtering in your own code.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.