netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Bulk Rename of The Label Field

Open mkarel opened this issue 1 month ago • 4 comments

NetBox version

v4.5.5

Feature type

Change to existing functionality

Proposed functionality

I would like to propose a change to the bulk rename feature to add the ability to bulk rename labels where the label field is present IE Interfaces. I would think the addition of a drop down to choose what field you want to target would work. When the bulk rename form is loaded the default for the drop down could be Name, then when they change the list of current names would update to be the user's selection.

Image

Use case

This would remove the need to export data make the bulk changes and reimport them saving a user time allowing them to it all in the NB interface.

Database changes

I don't think there would be any need for DB changes

External dependencies

None

mkarel avatar Nov 14 '25 14:11 mkarel

@mkarel, why not just use bulk-edit for this?

jnovinger avatar Nov 17 '25 17:11 jnovinger

@jnovinger ,The find/replace capabilities don't exist in bulk edit.

here is an example,

I need to rename the label for these interfaces from BDCA30GP to BDCC30GP leaving the trailing info as is. Doing something like this would not be doable in the bulk edit form.

Image

mkarel avatar Nov 17 '25 18:11 mkarel

@jnovinger ,The find/replace capabilities don't exist in bulk edit.

Understood, thanks.

jnovinger avatar Nov 17 '25 20:11 jnovinger

While I support the idea, we don't currently have a pattern for this. Putting this in the backlog for future work.

jeremystretch avatar Nov 20 '25 18:11 jeremystretch