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 time_instant doesn't belong to the schedule, then returns closer time in the future that belongs to it, otherwise returns time_instantit falls into the time frame, the value will be returned, otherwise the next possible timestamp based on a JWT calendar specification. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nextTime(time_instanttimestamp, schedule_namecalendarName, 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 string containing extra Schedules Definition Grammar that will be attached to the schedule. This functions is useful to add personal holidays to an existing schedule. define an additional JWT calendar specification. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nextTime(time_instanttimestamp, schedule_namecalendarName, additional_termsadditionalSpecifier, timeZone) #Output: Number |
UI Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|
UI Expand | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
Parameters used in this function:
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
This function returns a
|
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 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|