Buenas,
Tengo esta funcion:
{{now.diff(issue.Ultimo Cambio de Estado (Fecha)).businessDays.abs.format("%.2f%n")}}
Y no me devuelve el formato en decimales, por ejemplo tendria que ser 1.4 y me devuelve solo 1...
Ademas tambien he probado con format("#.##") y con el de los 0.00 y tampoco funciona...
Alguien sabe como puedo hacerlo?
Gracias de antemano!!
Hi @Cesar -- Welcome to the Atlassian Community!
The businessDays unit of measure for differences is whole numbers only. And, I believe it uses defined values for the working days and hours: it does not use any configuration settings for the project. https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-difference---
Finding the fractional business days is possible, although it is not simple and requires many assumptions. It requires performing the math operations for the partial days, excluding weekends, etc. If you want to see an explanation of doing this calculation, please see this post:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.