[2017-03-15] Released Jira Workflow Toolbox 2.2.34

New features

FunctionReturned value
formatWorkDuration(number duration) : stringSimilar to function formatDuration() but using the workday and workweek defined at time tracking configuration, instead of 24 hours per day and 7 days per week.
Example: formatWorkDuration(5 * 8 * {HOUR} + 2 * 8 * {HOUR} + 3 * {HOUR}) returns "1 week, 2 days, 3 hours", with 8 hours per workday and 5 days per workweek.
shortFormatWorkDuration(number duration) : stringSimilar to function shortFormatDuration() but using the workday and workweek defined at time tracking configuration, instead of 24 hours per day and 7 days per week.
Example: formatWorkDuration(5 * 8 * {HOUR} + 2 * 8 * {HOUR} + 3 * {HOUR}) returns "1w 2d 3h", with 8 hours per workday and 5 days per workweek.

Improvements

Bug fixes