Change contacts for devices or virtual machines in bulk #5982

Closed
opened 2025-12-29 19:35:07 +01:00 by adam · 10 comments
Owner

Originally created by @xth0331 on GitHub (Jan 20, 2022).

NetBox version

v3.1.6

Feature type

Data model extension

Proposed functionality

like bulk modifying tenants.

Use case

When multiple objects have the same contacts, avoid repeatedly attaching contacts to each object.

Database changes

N/A

External dependencies

N/A

Originally created by @xth0331 on GitHub (Jan 20, 2022). ### NetBox version v3.1.6 ### Feature type Data model extension ### Proposed functionality like bulk modifying tenants. ### Use case When multiple objects have the same contacts, avoid repeatedly attaching contacts to each object. ### Database changes N/A ### External dependencies N/A
adam added the type: featurestatus: needs ownerpending closure labels 2025-12-29 19:35:07 +01:00
adam closed this issue 2025-12-29 19:35:07 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 20, 2022):

like bulk modifying tenants.

Please put some more effort into your proposed implementation.

@jeremystretch commented on GitHub (Jan 20, 2022): > like bulk modifying tenants. Please put some more effort into your proposed implementation.
Author
Owner

@xth0331 commented on GitHub (Jan 20, 2022):

like bulk modifying tenants.

Please put some more effort into your proposed implementation.

Sorry, I just want to associate contact A with multiple devices. When I select multiple devices at the same time and click "Edit Selected", the Contact cannot be modified, and the netbox api cannot associate the contact with the device or virtual machine.

@xth0331 commented on GitHub (Jan 20, 2022): > > like bulk modifying tenants. > > Please put some more effort into your proposed implementation. Sorry, I just want to associate contact A with multiple devices. When I select multiple devices at the same time and click "Edit Selected", the Contact cannot be modified, and the netbox api cannot associate the contact with the device or virtual machine.
Author
Owner

@jdavidson2021 commented on GitHub (Jan 20, 2022):

I had opened a similar discussion on this topic. #8413
"We have added a few contacts, contact groups, and contact roles, but assigning a contact to a device one at a time in the GUI is not really feasible with 1000s of devices. It would be nice to be able to do a bulk edit on a bunch of existing devices and assign the contact(s). It would also be nice to be able to include the contact(s) details when you do a bulk import of devices."

@jdavidson2021 commented on GitHub (Jan 20, 2022): I had opened a similar discussion on this topic. #8413 "We have added a few contacts, contact groups, and contact roles, but assigning a contact to a device one at a time in the GUI is not really feasible with 1000s of devices. It would be nice to be able to do a bulk edit on a bunch of existing devices and assign the contact(s). It would also be nice to be able to include the contact(s) details when you do a bulk import of devices."
Author
Owner

@jdavidson2021 commented on GitHub (Jan 20, 2022):

It could also be useful to include comments/ideas from discussion #8359 about the ability to link a contact group to an object as well as the current contact linkage capability.

@jdavidson2021 commented on GitHub (Jan 20, 2022): It could also be useful to include comments/ideas from discussion #8359 about the ability to link a contact group to an object as well as the current contact linkage capability.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 22, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Mar 22, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@ITJamie commented on GitHub (Apr 4, 2022):

being able to link a contact / contact group to a tenant might be a solution around this.
that way you just have to update the contact assignments to the tenant

@ITJamie commented on GitHub (Apr 4, 2022): being able to link a contact / contact group to a tenant might be a solution around this. that way you just have to update the contact assignments to the tenant
Author
Owner

@github-actions[bot] commented on GitHub (Jun 6, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jun 6, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@sincomil commented on GitHub (Jun 16, 2022):

Bulk contact edits would be very useful for cases when one needs to change or assign contacts for devices/VMs if that objects are changed its relation to tenants. Or massively created by scripts like netbox-sync

@sincomil commented on GitHub (Jun 16, 2022): Bulk contact edits would be very useful for cases when one needs to change or assign contacts for devices/VMs if that objects are changed its relation to tenants. Or massively created by scripts like [netbox-sync](https://github.com/bb-Ricardo/netbox-sync)
Author
Owner

@sincomil commented on GitHub (Jun 30, 2022):

jeremystretch it seams that updates in this issue is not cleaning 'pending closure' flag automatically. Also I've putted a comment with my thoughts about issue

@sincomil commented on GitHub (Jun 30, 2022): [jeremystretch](https://github.com/jeremystretch) it seams that updates in this issue is not cleaning 'pending closure' flag automatically. Also I've putted a comment with my thoughts about issue
Author
Owner

@jeremystretch commented on GitHub (Jun 30, 2022):

@sincomil the issue is stale and will be closed if someone does not volunteer to own it.

@jeremystretch commented on GitHub (Jun 30, 2022): @sincomil the issue is stale and will be closed if someone does not volunteer to own it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5982