Changing Event Rule Action Type only works one way #8982

Closed
opened 2025-12-29 20:43:48 +01:00 by adam · 0 comments
Owner

Originally created by @rodvand on GitHub (Dec 18, 2023).

Originally assigned to: @arthanson, @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7-beta1

Python Version

3.8

Steps to Reproduce

  1. Create a webhook (anything goes)
  2. Create an Event Rule with Webhook as Action Type and select the new Webhook in the dropdown
  3. Save the Event rule
  4. Edit the Event rule and try changing the Action Type from Webhook to Script

Expected Behavior

The changing of the Action Type should change the input field to allow selection of a script.

Observed Behavior

It does not change. If you do it the other way around, changing from Script to Webhook seems to work as expected.

Originally created by @rodvand on GitHub (Dec 18, 2023). Originally assigned to: @arthanson, @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7-beta1 ### Python Version 3.8 ### Steps to Reproduce 1. Create a webhook (anything goes) 2. Create an Event Rule with Webhook as Action Type and select the new Webhook in the dropdown 3. Save the Event rule 4. Edit the Event rule and try changing the Action Type from Webhook to Script ### Expected Behavior The changing of the Action Type should change the input field to allow selection of a script. ### Observed Behavior It does not change. If you do it the other way around, changing from Script to Webhook seems to work as expected.
adam added the type: bugstatus: acceptedbetatopic: event rules labels 2025-12-29 20:43:48 +01:00
adam closed this issue 2025-12-29 20:43:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8982