Page History
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function adds or substracts natural days (or working days) days to/from any given date. Weekends will not be counted as working days. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
addDaysSkippingWeekendsaddDays(timestamp, numberOfDays, timeZone) #Output: Number |
UI Expand | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
|
UI Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
Parameters used in this function
| |||||||||||||||||||||||||||||||||
UI Expand | |||||||||||||||||||||||||||||||||
|
Status | ||||
---|---|---|---|---|
|
UI Text Box | ||
---|---|---|
| ||
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 a JWT calculated date-time fields. |
UI Text Box | ||||
---|---|---|---|---|
| ||||
Variant of the function where you can define the start and the end of the weekend . This function is useful when the non-working days differ from the standard (Saturday/Sunday). |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
addDaysSkippingWeekends(timestamp, numberOfDays, timeZone, startOfWeekend, endOfWeekend) #Output: Number |
UI Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
This function substracts 2 working days from the issue's due date. Sundays, Mondays and Tuesdays are not counted. | |||||||||||||||||||||||||||||||||||||||||||||||||||
UI Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters used in this function
UI Text Box | | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
. |
UI Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
This function returns a
|