itflow icon indicating copy to clipboard operation
itflow copied to clipboard

Feature request: Asset service history

Open aftechro opened this issue 2 years ago • 4 comments

Would be nice to have the Asset service history to show on the ticket, so whoever taking a new ticket from same contact, would know what issues that asset had and what had be done so far

image

aftechro avatar Feb 27 '22 00:02 aftechro

I like this idea! I think we'll need a new table called asset_services or something to track an asset id and the associated ticket/notes.

wrongecho avatar Feb 27 '22 09:02 wrongecho

@wrongecho Ill take on this one.

For now i'm going to use the existing tables

ticket_asset_id and asset_id

The summary will be the ticket subject

So it will display like so Ticket Number (with a link) - Date Ticket Opened - Ticket Subject when viewing asset service history log. This will be viewableby clicking View Service History button under assets as well as ticket details asset section.

We can add to this later as we feel fit.

johnnyq avatar Feb 27 '22 17:02 johnnyq

This has been added although we can add more to it at later date.

Also im going to do the same for client contacts and add the ability to view ticket history on them as well.

johnnyq avatar Feb 27 '22 21:02 johnnyq

I recommend something else, but we will chat about that when we will have the chance. Not exactly what i had in mind for the asset service history, but this modal can be used for related tickets instead:

image

Problem is that I dont know how to show all other related open/closed tickets of the user. ATM shows only one.

aftechro avatar Feb 28 '22 21:02 aftechro

Hi, Asset Service History displays correct information today, but the links to access the old ticket refer all to the current ticket ID.

Reproduce in the demo environnement

https://demo.itflow.org/ticket.php?ticket_id=228 Click on Service History click on any of the 2 links.

image

Ticket 7 should go to https://demo.itflow.org/ticket.php?ticket_id=227.

Wikiphil avatar Jan 19 '23 02:01 Wikiphil

Hey @Wikiphil. Thanks for raising.

Looks like the hyperlink was pointing to the ticket you were on, not the one referenced in the service history. I've raised a PR to fix.

wrongecho avatar Jan 19 '23 20:01 wrongecho

Screenshot_20230206-002424.png

This feature has been added and is functional!

wrongecho avatar Feb 06 '23 00:02 wrongecho