This function adds or subtracts natural days (or working days) to or from any given date. Weekends will not be counted as working days. |
addDaysSkippingWeekends(timestamp, numberOfDays, timeZone) #Output: Number |
|
Parameters used in this function
|
This function returns a representing a timestamp |
Variant of the function where you can additionally define the start and the end of the weekend. This function is useful when the non-working days differ from the standard (Saturday/Sunday). |
addDaysSkippingWeekends(timestamp, numberOfDays, timeZone, startOfWeekend, endOfWeekend) #Output: Number |
|
Parameters used in this function
|
This function returns a representing a timestamp |
The output can be written into any Jira field of type Date Picker ore Date Time Picker. Another very common use case is to use this function in one of the JWT calculated date-time fields. If you want to subtract two date-time values you might want to have a look at the function subtractDatesSkippingWeekends(). |
|
|