I am trying to calculate the difference between Start Date and End Date and automatically fill in a custom field for time estimation purposes.
I have this automation working:
{{issue.start date.diff(issue.end date.plusDays(1)).prettyPrint}}
which will print out:
6 days
And I also have this automation working:
{{issue.start date.diff(issue.end date.plusDays(1)).businessDays}}
which will print out
5.0
I've tried:
{{issue.start date.diff(issue.end date.plusDays(1)).prettyPrint.toBusinessDays()}}
{{issue.start date.diff(issue.end date.plusDays(1)).toBusinessDays().prettyPrint}}
{{issue.start date.diff(issue.end date.plusDays(1)).businessDays.prettyPrint}}
Is it possible to have business days but output as pretty print?