You are not logged in.
I am trying to develop some external reports and dashboards using ticket information from GLPI. I want to report on the percentage of tickets solved within SLA versus those not resolved in SLA.
In the Tickets list view, it is possible to add a field 'Time to Resolve Exceeded' which has a yes/no value and which takes into account tickets set to pending. I can't find this field in the database, so I'm assuming that either I am looking in the wrong place or it is a calculated field. I have looked in the source code to find how this is calculated but so far have not located the code that does the calculation.
Please can someone point me the right direction - either where this field is stored in the db or information/source on exactly how glpi performs the calculation.
Offline
It is calculated through SQL functions.
https://github.com/glpi-project/glpi/bl … .php#L4628
If you are ever wondering about the queries GLPI makes to the database, you can enable debug mode when logged in as a super-admin through the top-right dropdown menu and view the SQL queries being made in the debug bar that appears at the bottom of each page.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Thank you. Appreciated.
Offline