[PR #8339] [MERGED] Fixes: #8295 Render the payload_url of a Webhook with Jinja2 #13344

Closed
opened 2025-12-29 22:26:53 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8339
Author: @rodvand
Created: 1/12/2022
Status: Merged
Merged: 1/13/2022
Merged by: @jeremystretch

Base: featureHead: feature


📝 Commits (1)

  • 5cbc978 Render the payload_url of the Webhook with Jinja2

📊 Changes

3 files changed (+12 additions, -5 deletions)

View changed files

📝 docs/models/extras/webhook.md (+3 -3)
📝 netbox/extras/models/models.py (+8 -1)
📝 netbox/extras/webhooks_worker.py (+1 -1)

📄 Description

Fixes: #8295

Render the payload_url with Jinja2 when triggering a webhook.

  • Update markdown documentation
  • Expand on the help text for the Webhook model to reference support of Jinja2 templating

🔄 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/8339 **Author:** [@rodvand](https://github.com/rodvand) **Created:** 1/12/2022 **Status:** ✅ Merged **Merged:** 1/13/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `feature` --- ### 📝 Commits (1) - [`5cbc978`](https://github.com/netbox-community/netbox/commit/5cbc978cad63447af7f964989c2b742b9eb4e884) Render the payload_url of the Webhook with Jinja2 ### 📊 Changes **3 files changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/extras/webhook.md` (+3 -3) 📝 `netbox/extras/models/models.py` (+8 -1) 📝 `netbox/extras/webhooks_worker.py` (+1 -1) </details> ### 📄 Description ### Fixes: #8295 Render the payload_url with Jinja2 when triggering a webhook. - Update markdown documentation - Expand on the help text for the Webhook model to reference support of Jinja2 templating --- <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-29 22:26:53 +01:00
adam closed this issue 2025-12-29 22:26:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13344