[2017-08-01] Released Jira Workflow Toolbox 2.2.40
New features
- Added 2 new read-only virtual fields:
- Sprint Start Date
- Sprint End Date
- New functions added to the parser:
FUNCTION | RETURNED VALUE |
---|---|
nextTime(number time_instant, string schedule_name, timeZone time_zone) : number | If time_instant doesn't belong to schedule with name schedule_name, then returns closer time in the future that belongs to the schedule, otherwise returns time_instant. Example: nextTime(2017/12/01 01:00, "my_schedule", LOCAL) returns 2017/12/01 08:00 Example: nextTime(2017/12/01 15:00, "my_schedule", LOCAL) returns 2017/12/04 08:00 .Example: nextTime(2017/12/01 08:00, "my_schedule", LOCAL) returns 2017/12/01 08:00 .Example: nextTime(2017/11/30 15:00, "my_schedule", LOCAL) returns 2017/11/30 16:00 . |
nextTime(number time_instant, string schedule_name, string additional_terms, timeZone time_zone) : number | Similar to previous function, but with extra parameter additional_terms, which is a string containing extra
Schedules Definition Grammar clauses that will be attached to schedule with name schedule_name. This function can be used to include personal holidays to an existing schedule. Example without additional terms: nextTime(2017/12/01 15:00, "my_schedule", LOCAL) returns 2017/12/04 08:00 .Example with additional terms: nextTime(2017/12/01 15:00, "my_schedule", "2017/12/04 {;}", LOCAL) returns 2017/12/05 8:00 . |