Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[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:
FUNCTIONRETURNED VALUE
nextTime(number time_instant, string schedule_name, timeZone time_zone) : numberIf 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 Schedule Definition 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.