Date: Fri, 29 Mar 2024 15:29:19 +0100 (CET) Message-ID: <112475753.598.1711722559349@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_597_1790226947.1711722559349" ------=_Part_597_1790226947.1711722559349 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This function checks whether, a given timestamp (e= .g. the due date of an issue) falls into a time frame defi= ned in a JWT ca= lendar specification.
withinCa= lendar(timestamp, calendarName, timeZone) #Output: Boolean
Variant of the function where you can define an ad= ditional JWT ca= lendar specification.
withinCa= lendar(timestamp, calendarName, additionalSpecifier, timeZone) #Output: Boo= lean
This function is usually used in a validators or the conditional executi= on parameter of post functions.
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Prevent setting due date= s outside business hours |
|
Logical validator<= /p> |
withinCalendar()= a> | ||
Add comment wh= en creating issues outside of business hours |
|
withinCalendar()= a> |