Hi everyone,
I'm building a Jira Automation rule to calculate employees' worked hours from custom Start Time and End Time fields.
The automation works for most records, but I've noticed that some values are rounded differently when converting HH:MM into decimal hours. This becomes a problem because the calculated value is later exported to payroll reports.
For comparison, I tested the same inputs on https://mauricettecalcul.fr/, and the decimal hour values don't always match the results produced by Jira Automation.
The rule currently uses smart values and a custom number field to store the calculated result.
Has anyone found a reliable approach for handling time-to-decimal conversions in Jira Automation without introducing rounding inconsistencies? Would using ScriptRunner or another app provide more consistent results?
Thanks in advance for any suggestions.