Versions Compared

Key

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

...

Country CalendarUsed to store all the public holidays for the country. Multiple organisation calendar can be linked each country calendar
Organisation Calendar Used to include non working days for the company or department. It can be used by itself or linked to a common country calendar Country Calendar.
If it is linked to a common country calendar, the administrators can just update the country calendar to set the public holidays each year and the linked organisation calendars will also be updatedCountry Calendar, the public holidays stored in the Country Calendar are also considered as the non working days.

Post Function

The Calculate Days Elapsed for Traffic Light Post Function initialises the information required for tracking the day elapsed

Traffic Light Custom FieldThe target Traffic Light custom field to update.
Traffic Light Mode7 modes:
  • Startthis will Start the target Traffic Light custom field value (include 1st day).Starts the timer
  • Stopthis will Stop the target Traffic Light custom field value (Stops the timer (It will be ignored if existing Traffic Light SLA timer is already stopped).
  • Clear: this will clear and reset the target Traffic Light custom field value.Reset the timer
  • Resumethis will Resume SLA calculation for the target Traffic Light custom field value ONLY IF there are existing Traffic Light SLA value (ignored if existing Traffic Light SLA is Resumes a stopped timer (It will be ignored if the timer is already running).
  • Start/Resumethis will Resume SLA calculation for the target Traffic Light custom field value if there are existing Traffic Light SLA value (ignored if existing Traffic Light SLA is already running) OR Start the target Traffic Light custom field value.Set: this will set Resumes the stopped timer. If there is no timer, it will start a new timer
  • Set: Sets the days elapsed from the a specified Start Date till the specified End date specified below (existing values will be replaced).
  • Accumulate: this will retain any existing days elapsed value and add it to the days Add the number of days elapsed from the Start Date till End date specified below to the current days elapsed. This is used when certain periods are to be excluded from the counting.
    • e.g. An issue took 4 1 working days to resolve day to respond to the client and the Traffic Light is stopped at 4 days1 day, but after the issue has been closed for client responded after 2 days, it is reopened with Traffic Light set to Accumulate mode → after issue is reopened, the number of working days will start counting from 4 1 day instead of 3 days.
Start DateThe start date to calculate the days elapsed. If the date custom field value is null, the Traffic Light value will be cleared.
End DateThe end date to calculate the days elapsed to. If the date custom field value is null, the Traffic Light value will be cleared.
  • If it is Current Date, then the Traffic Light days elapsed will continue to update everyday.
  • If it is Today, it will use the date and time when the post function was executed.
  • For other date/datepicker custom fields, it will use the value provided at the point in time that the post function is triggered.

Exclude First Day

Whether to exclude the 1st day in the calculation.  When ticked, it means to exclude the 1st day from the Start Date from counting as a working day. The default setting is to include the 1st day.
Accumulate only if there is existing DaysWhether to accumulate the days if there is no existing Traffic Light value. The default is set to accumulate regardless if there is existing SLA value.

...

Each traffic light custom field for each issue can be in either running or stopped state

  • Running - When Start or Resume mode is selected or the end date is selected as current date, the The number of working days elapsed will be incremented every day and the traffic light color might change if issue is edited resulting in Traffic Light SLA matching a different will change according to the mapping
  • Stopped - When Stop mode is selected or the end date is a fixed date, the day elapsed will be calculated immediately and the The traffic light SLA will be stopped and will not change until another post function is triggered

...

JQL Condition

The issue with the Traffic Light custom field must fulfil the condition in order to use the mapping

It uses a simplified version of JQL which only supports AND and equal operators.
Examples:

  • Project = "Day Elapsed" AND issuetype = "Bug"
  • Project = "Day Elapsed" AND issuetype = "Task"

If the JQL condition cannot be evaluated successfully, it will be considered as non-matching

Yellow

The number of days elapsed to be considered as Yellow traffic light

If this yellow traffic light is not specified, there will not be any Yellow Traffic Light colourrequired (i.e. Green to Red directly), this value can be left blank

RedThe number of days elapsed to be considered as Red traffic light

...