[ x ] Regression (a behavior that stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
Webhooks stop working after I change their name.
Expected behavior
Webhooks should work after changing their name.
Minimal reproduction of the problem
Navigate to the Rules section
Click on “+ New Rule” button
Select Manually Triggered
Select Webhook
Fill the form and Save
Rename the Unnamed Rule
Click on the Play button to trigger webhook
Environment
[ ] Self hosted with docker
[ ] Self hosted with IIS
[ ] Self hosted with other version
[ x ] Cloud version
Assumption
Checked the responses of creating and editing rules, and it seems the isEnabled becomes false after renaming the rule. Adding response for PUT request.
I have more than 20 projects and around 4-5 webhooks in each of them, so doing it manually will take a lot of time. Moreover, during the creation, I don’t have any option to name a webhook, which basically forces me to rename it. Also, I remember there was a toggle that allowed to enable/disable the hook, where is it?
Can you provide some sample cURL for that. I’ve tried, but getting the following error {"message":"Entity (b27ce407-d9f0-4b02-a551-6dd1065c118c--c4f9abe0-22b6-4173-b8d6-7835c655e730) requested version 1, but found 2.","errorCode":"OBJECT_VERSION_CONFLICT","traceId":"00-f6bf837606f986478db04d57ea070f81-233e7261812e7c4a-00","type":"https://tools.ietf.org/html/rfc7231#section-6.5.10","statusCode":412}%