Replies: 2 comments
-
I think you've reached the limits of what's possible in webhook filtering. Your example looks for the case where the target field is not the literal value Doing anything more sophisticated would involve changing Netbox, either to allow you to plug in python code here (as is possible with custom validation), or to use a more powerful expression language like Jsonnet:
But for now, I think this logic needs to live in your webhook receiver. |
Beta Was this translation helpful? Give feedback.
-
Maybe today its more feasable? My receiver is gitlab and I have no way there to compare the changes, I would need to write some in-between receiver to forward my request to gitlab. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to fire the webhook if there was a change in a specific custom field.
I couldn't find a way to retrieve the values. I was thinking it could work like this:
Beta Was this translation helpful? Give feedback.
All reactions