I want to set up a Slack integration that sends a message (via webhook) whenever a task or story is flagged as 'Impediment'. I have tried applying a JQL filter of "Flagged = 'Impediment'" to the webhook, but this will only fire for tasks which are already flagged, as opposed to those that whose 'Flagged' attribute is changing.
How can I achieve this?