Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function checks whether, a given timestamp (e.g. the due date of an issue) falls into a time frame defined in a JWT calendar specification. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
inSchedulewithinCalendar(timestamp, calendarName, timeZone) #Output: Boolean |
UI Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
|
UI Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This function returns a
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
Variant of the function where you can additionally define additional terms, which is a string containing extra JWT calendar. that will be attached to the calendar.This functions is useful to add personal holidays to an existing calendardefine an additional JWT calendar specification. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
addTime(base_instant, offsetwithinCalendar(timestamp, calendarName, additional_termsadditionalSpecifier, timeZone) #Output: NumberBoolean |
UI Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
|
ui-expand | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters used in this function:
base_instant
offset
additional_terms
|
UI Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This function returns a
|
UI Text Box | ||
---|---|---|
| ||
This function is usually used in a validators or the conditional execution parameter of post functions. |
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Page properties | |||||||
---|---|---|---|---|---|---|---|
| |||||||
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 | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
|