Page History
Page properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
UI Text Box | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Syntax
Code Block |
---|
addDaysSkippingWeekends t, n, time_zone) |
Info |
---|
If t represents a timestamp which coincides with a Friday, adding n = 1 will return a date-time for the following Monday. Negative values for n are used in order to subtract days to t. Note: n cannot be higher than 50000. |
Input
t:Parameter | Data type | Description | |||||||
---|---|---|---|---|---|---|---|---|---|
t |
|
timestamp returned by a custom field or |
n |
|
Number of days to be added |
time_zone |
| Timezone which will be used to base the calculation on |
Output
This expression will return a timestamp as a
Status | ||||
---|---|---|---|---|
|
Examples
Parser expression | Description | ||
---|---|---|---|
| Number of milliseconds the current issue has stayed in status "Open" within the schedule called "my_schedule" matching the server's default timeZone. | ||
Syntax |
| ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Input data type(s) |
| ||||||||||||||||||||||||
Output |
| ||||||||||||||||||||||||
Examples |
|