Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
If time_instant doesn't belong to the schedule, then returns closer time in the future that belongs to it, otherwise returns time_instant. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nextTime(time_instant, schedule_name, 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. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
nextTime(time_instant, schedule_name, additional_terms, timeZone) #Output: Number |
UI Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
|
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":
|
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 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|