Page History
[2017-03-15] Released
...
Jira Workflow Toolbox 2.2.34
New Features
- Added new functions to the parser:
FUNCTION | RETURNED VALUE |
---|---|
formatWorkDuration(number duration) : string | Similar 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) : string | Similar 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
- More examples in the parser's documentation.
- Added parameter "Use time tracking settings" to Calculated Number Field. This parameter allows to calculate a time duration using the workday and workweek defined at time tracking configuration, instead of 24 hours per day and 7 days per week.
Bug Fixes
- Issue #537 - Problems with functions related to field edition in transition screen
...