snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

[Feature Request]: Add information to asset maintenance

Open devvonmonahan opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe.

We'd like to log who an asset was assigned to when a maintenance (repair) occurred. This is so we can look at trends over a few years to see whether particular people/locations tend to break devices more often than others.

Describe the solution you'd like

It would be great if when creating an asset maintenance, it logs in the database the user it was assigned to & also the location the asset (user) was when it was set for maintenance.

Describe alternatives you've considered

Storing stuff in a separate database via API requests. Haven't thought too much about how to go about this but would be brilliant if available natively.

Additional context

No response

devvonmonahan avatar Jun 12 '23 10:06 devvonmonahan

Thanks for the quick response and opening the PR in #13157 @Godmartinz

Couple of queries;

Do you plan on allowing manual editing of these values in case someone checks in the asset before adding the maintenance (and also for backtracking old maintenances manually)

At the moment, I think there is a location column that tells you the assets current location - will there be a way to have this stored in the maintenance table and separate from the assets current location? (ie. maintenance location & asset location being two different values). Use location of the user it is assigned to firstly, then if no user assigned then default location etc... Worst comes to worst, even if there is no automatic selection and it's on the add maintenance page for us to select each time ourselves would be more than enough for me personally.

The maintenance allows selecting a specific start/end date - in this instance is it viable to have the entry stored in the database as the user at the time of the start-date or will it just be when the date in which you enter the maintenance.

The last point is more just a general question than a request - For me, the way that the last point works is trivial.

Thank you!! :)

devvonmonahan avatar Jun 13 '23 22:06 devvonmonahan

I just reread your initial request and realized, I misread it 😅 . I added the user the asset belongs to for better visibility on the asset maintenance request report. But I also like your other ideas: -Add the user receiving the asset for maintenance. -Add the ability to choose a maintenance location.

I will go over this with the team and get back to you 🙂

Godmartinz avatar Jun 14 '23 16:06 Godmartinz

Going to add these now 👍

Godmartinz avatar Jun 14 '23 19:06 Godmartinz

I just reread your initial request and realized, I misread it sweat_smile . I added the user the asset belongs to for better visibility on the asset maintenance request report. But I also like your other ideas: -Add the user receiving the asset for maintenance. -Add the ability to choose a maintenance location.

I will go over this with the team and get back to you slightly_smiling_face

Fantastic, thanks for adding additional features, it will help out not just me but others I am sure. Just confirming the users/locations that we can select will pull from the list of users and locations we already have? Rather than a separately managed list?

If so, that is perfect for our use-case. We will use the "repairer" field as the user who was the reason for needing the repair so we can follow trends but the terminology doesn't matter - as long as we have a field for tracking such things :smile:

devvonmonahan avatar Jun 15 '23 21:06 devvonmonahan

@Godmartinz Hi - I notice the PR has changed a bit. For our use-case it's needed that we can select a location ourselves for reporting purposes. Any chance this can please be added back in for the admin to fill out themselves?

When doing an asset maintenance report, it would be ideal at a glance to see what the user/location is rather than having to pull this from the history tab of the asset.

Looking forward to your reply

devvonmonahan avatar Jun 28 '23 01:06 devvonmonahan

I think this was added with #19039

Godmartinz avatar Oct 15 '26 18:10 Godmartinz