Skip to content

Changing Event Rule Action Type only works one way #14550

@rodvand

Description

@rodvand

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.

Metadata

Metadata

Labels

betaConcerns a bug/feature in a beta releasestatus: acceptedThis issue has been accepted for implementationtopic: event rulesFor issues related to the Event Rules featuretype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions