[PR #18273] [MERGED] Fixes #18222: Include action data from event rule in webhook and custom script data #15310

Closed
opened 2025-12-30 00:21:12 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18273
Author: @jeremystretch
Created: 12/27/2024
Status: Merged
Merged: 1/3/2025
Merged by: @jeremystretch

Base: developHead: 18222-event-action-data


📝 Commits (1)

  • d667644 Fixes #18222: Include action data from event rule in webhook and custom script data

📊 Changes

3 files changed (+34 additions, -8 deletions)

View changed files

📝 docs/models/extras/eventrule.md (+13 -1)
📝 netbox/extras/events.py (+8 -4)
📝 netbox/extras/tests/test_event_rules.py (+13 -3)

📄 Description

Fixes: #18222

  • Merge action_data from EventRule when passing data as context for webhooks and custom scripts
  • Add missing fields to docs for EventRule model

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/18273 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 12/27/2024 **Status:** ✅ Merged **Merged:** 1/3/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `18222-event-action-data` --- ### 📝 Commits (1) - [`d667644`](https://github.com/netbox-community/netbox/commit/d667644ad3e5809fc2fe9b74a0a052118c03e4ff) Fixes #18222: Include action data from event rule in webhook and custom script data ### 📊 Changes **3 files changed** (+34 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/extras/eventrule.md` (+13 -1) 📝 `netbox/extras/events.py` (+8 -4) 📝 `netbox/extras/tests/test_event_rules.py` (+13 -3) </details> ### 📄 Description ### Fixes: #18222 - Merge `action_data` from EventRule when passing data as context for webhooks and custom scripts - Add missing fields to docs for EventRule model --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:21:12 +01:00
adam closed this issue 2025-12-30 00:21:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15310