Hello everyone,
I am using JIRA Cloud and it's Automation feature. I am stucked at a minor issue someone might have a solution for:
Goal: Calculate day difference from today til a day in future
Formula: now.diff(version.releaseDate).days
The formula works and returns a value. But the result is not correct from a human point of view.
Assume this formula is called during Friday and releaseDate is the upcoming Monday the result of the formula is: 2
As a human I would expect: 3 and interpret 2 as Sunday.
I understand why the formula returns 2. But is there a way to achieve a result of 3?
I didn't found anything about rounding ...
Thanks, Roman