Skip to content

Conversation

@dchiquito
Copy link
Contributor

@dchiquito dchiquito commented Oct 29, 2025

Related Issue

Fixes #1128

New Behavior

Add the netbox_contact_assignment module

Contrast to Current Behavior

Add the netbox_contact_assignment module

Discussion: Benefits and Drawbacks

Contact assignments bind a contact and role to one of 14 objects in Netbox that allow contact assignments.
I opted to identify contact, role, and object by name for consistency with the rest of modules, even though name isn't strictly speaking a unique identifier. This required a bit of massaging the data to look up the correct IDs to send to the API.

Changes to the Documentation

Automatically generated docs should be fine.

Proposed Release Note Entry

Add module netbox_contact_assignment

Double Check

  • I have read the comments and followed the CONTRIBUTING.md.
  • I have explained my PR according to the information in the comments or in a linked issue.
  • My PR targets the devel branch.

@dchiquito
Copy link
Contributor Author

This is a new module so no changelog fragment required

@sc68cal sc68cal merged commit 2e25e1f into netbox-community:devel Nov 3, 2025
51 checks passed
@dchiquito dchiquito deleted the contacts branch November 11, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Assign contact to devices

2 participants