Tracker Module - Recording the time taken to resolve issues

Tracker Module - Recording the time taken to resolve issues

by Matthew Lee -
Number of replies: 0

Hi,

I am trying to modify the tracker module so that I am able to report how long it takes to resolve an issue registered on the site.

At present I have;

added a field to the tracker_issues table called resoutiontime.;

I have modified the views\view.controller file so when you click on edit the issue and set the status to resolved it sets resolutiontime to the current time (time();) with a sutable selection of if statemnts to ensure this does not happen more than once;

However, when you are viewing the issues you can change the status of an issues, click save changes and the status is updated. If this route is taken the status is changed but it will not set the resolution time field. I have been searching through the code and can’t find where this change takes place. If anyone can help this would be gratefully received.

Matt

Average of ratings: -