Convert the interval value from a worklog or other source to hours.
function intervalToHours(interval time) { int m = time["TOMILLIS"]; int hours = m/(1000*60*60); return hours; }
We've encountered an issue exporting this macro. Please try exporting this page again later.