Add creation date to tags applied on objects #11770

Closed
opened 2025-12-29 21:49:41 +01:00 by adam · 3 comments
Owner

Originally created by @pycolas on GitHub (Oct 24, 2025).

NetBox version

v4.4.4

Feature type

Data model extension

Proposed functionality

Add a date_created field to TaggedItem and access it through API.

On WEBUI, maybe display it with a tooltip ?

Use case

Identify when a tag was added to an object for audit purposes, trigger some automation, reporting..

Database changes

Add a date_created field to TaggedItem, for example:
date_created = models.DateField(auto_now=True)

External dependencies

None

Originally created by @pycolas on GitHub (Oct 24, 2025). ### NetBox version v4.4.4 ### Feature type Data model extension ### Proposed functionality Add a date_created field to TaggedItem and access it through API. On WEBUI, maybe display it with a tooltip ? ### Use case Identify when a tag was added to an object for audit purposes, trigger some automation, reporting.. ### Database changes Add a date_created field to TaggedItem, for example: date_created = models.DateField(auto_now=True) ### External dependencies None
adam added the type: feature label 2025-12-29 21:49:41 +01:00
adam closed this issue 2025-12-29 21:49:41 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 24, 2025):

Wouldn't this be redundant? The assignment of tags is already recorded in the object's changelog. Additionally, this would only serve to record the application of a tag, and not its removal from the object.

@jeremystretch commented on GitHub (Oct 24, 2025): Wouldn't this be redundant? The assignment of tags is already recorded in the object's changelog. Additionally, this would only serve to record the application of a tag, and not its removal from the object.
Author
Owner

@jnovinger commented on GitHub (Oct 27, 2025):

Seems like a duplicate of #20453.

@jnovinger commented on GitHub (Oct 27, 2025): Seems like a duplicate of #20453.
Author
Owner

@pycolas commented on GitHub (Oct 27, 2025):

Yes it's indeed a duplicate. I couldn't find any related issue a few month ago, I forgot to open one and didn't check after that. Sorry.

I think I understand why you prefer not to introduce this kind of time-tracking logic, as it wouldn’t be consistent across all relationship types. Thanks for the explanation.

@pycolas commented on GitHub (Oct 27, 2025): Yes it's indeed a duplicate. I couldn't find any related issue a few month ago, I forgot to open one and didn't check after that. Sorry. I think I understand why you prefer not to introduce this kind of time-tracking logic, as it wouldn’t be consistent across all relationship types. Thanks for the explanation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11770