Hi Team,
So i was trying to find ways to calculate start and end dates and exclude sat sun but I can't seem to find a working solution.
So for my flow, I use
{{issue.Start date.diff(issue.End date).days.abs.plus(1)}}
So far, this gives me the result that i want as long as weekend is not involved but I want to exclude weekend, has anyone implemented something like this in the past?
Instead of days you can use businessDays as unit, thus excluding weekends. So:
{{issue.Start date.diff(issue.End date).businessDays.abs.plus(1)}}
Hope this helps!
thanks. it worked!
weird that when i used {{issue.Start date.diff(issue.End Date).businessDays.abs}} earlier, it didn't work.
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.