Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function checks whether, a given timestamp (e.g. the due date of an issue) falls into a timeframe specified in a JWT calendar. If it falls into the time frame, the value will be returned, otherwise the next possible timestamp based on the a JWT calendar specification. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nextTime(timestamp, calendarName, timeZone) #Output: Number |
UI Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
|
UI Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
Parameters used in this function:
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
This functions returns a
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
Variant of the function where you can additionally define additional terms, which is a text containing extra JWT calendar that will be attached to the calendar. This functions is useful to add personal holidays to an existing calendar. define an additional JWT calendar specification. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nextTime(time_instanttimestamp, calendarName, additional_termsadditionalSpecifier, timeZone) #Output: Number |
UI Expand | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||
This example returns: "2017/12/04 08:00" | Example with | 2017additional term:
| 2017
| 2017This example returns a timestamp representing: " | 1204/ | 05 8Dec/ 20 1:00 PM"
|
UI Expand | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
Parameters used in this function:
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
This function returns a
|
UI Text Box | ||||||
---|---|---|---|---|---|---|
Code Block | language | bash
| ||||
MON - THU {
08:00 - 15:00,
16:00 - 19:30;
}
FRI {
08:00 - 15:00;
} | ||||||
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 one of the JWT calculated date-time fields. |
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|