Webhook filter on section change

Is it possible to add a webhook filter for a change of section?
I’m trying to add webhooks to tasks that will fire also when the section is updated.
filters = [
{
“resource_type”: “task”,
“resource_subtype”: “default_task”,
“action”: “changed”,
“fields”: [
“completed”,
“due_on”,
“assignee”,
“section”
]
}
or
filters = [
{
“resource_type”: “task”,
“resource_subtype”: “default_task”,
“action”: “changed”,
“fields”: [
“completed”,
“due_on”,
“assignee”,
“memberships”
]
}
These don’t work.
Tips appreciated!

cc: @Ross_Grambo Another one of those webhook-filters questions… :slight_smile:

1 Like

I’m not actually sure. Have you tried memberships.section? If that doesn’t work I’ll ask an API eng.

1 Like

I have tried, but it doesn’t work for me.

The fields field must be non-empty list of non-empty strings containing only letters and underscores.

I don’t know how the filters work internally, but it seemed to me adding ‘memberships’ to fields would call the webhook on all memberships changes.

1 Like

An eng didn’t know the answer without digging in, but they has a great suggestion of creating a webhook on the project level, and watching what happens when you change a section.

I’m suspecting section changes only show up at the project level and not at the task level.