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 an additional JWT calendar that will be attached to the calendarspecification. This functions is useful to add personal holidays to an existing calendar. |
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:
| -calendar
| 2017
| 2017This example returns a timestamp representing: " | 82020/12/05 08:00"
|
ui-expand | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
Parameters used in this function:
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
This function returns a
| ||||||
UI Text Box | ||||||
| ||||||
In the examples we have used the following definition for "my-calendar": Code Block | | |||||
|
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. |
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|