Hi everyone,
I have some automation rules running under my project that calculate some dates and times starting from some other given dates and times. Part of my rules is like that:
.plusBusinessHours(4)}}
What I'm noticing is that the operator "BusinessHours" is not based on the same idea of business hours I have (my business hours are 8.30-17.30, while my automation rules are giving results even later than 17.30).
Is there a way I can set a different range of business hours?
Thanks in advance.
Hi @Alessio Bilardo -- Welcome to the Atlassian Community!
First thing, that plusBusinessHours() function is not in the documentation, and so we may need to guess at the defined behavior until it is documented.
When the rule date / time functions access date / times, they default to the UTC time zone. Have you tried converting your values to your time zone to observe the results?
Kind regards,
Bill
Hi Bill,
thanks for your reply (and sorry for my late one!).
Do you mean I should try with the plusBusinessHours{} function and then add a function that converts the result to my timezone?
Thanks,
Alessio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, the reverse of that: for a date / time value convert to your time zone before using the plusBusinessHours() function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.