Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Release 4.2.1
-
None
-
None
-
R4.3.0 Sprint 1
-
Description
A new template must be created making use of the following
${set(FunctionFormatSeconds,”var w = Math.floor(v / 144000);var d = Math.floor((v - (Math.floor(w) > 0 ? (w*144000) : 0)) / 28800);var h = Math.floor((v - (Math.floor(w) > 0 ? (w*144000) : 0)-(Math.floor(d) > 0 ? (d*28800) : 0)) / 3600);var m = Math.floor(v % 3600 / 60);var s = Math.floor(v % 3600 % 60);(((w>0 ? w +"w ":"") + (d>0 ? d +"d ":"") +(h > 0 ? h + "h " : "") + (m > 0 ? m + "m " : "") + (s > 0 ? s + "s " : ""))).toString();”)}
in order to format worklogs values