Misleading human-readable SLA information

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: SLA
    • 0
    • 6

      Issue Summary

      This is reproducible on Data Center: (yes)

      We received a customer request, trying to fully understand how the "human-readable" SLA goal is presented to the users when using different calendar configurations such as 24/5 or 9/5 ones.

      It seems that Jira does a calculation based on the "working" hours and does not present the information in a concise and fully understandable way.

      Our investigation resulted in several different outcomes, it is not even easy to organize the information:

      • When the SLA is set to 216h, in a 24h without weekends, calendar:
        • 216 divided by 24 hours is 9 days;
        • Since it is a calendar 24 by 5, weekends are considered when the human-readable format is used;
        • SLA in human-readable format, is showing as 1w 3d, on mouse hover the explanation is In 5 days 18:13 UTC
        • This calculation seems incorrect.
      • For an L2 SLA is set to 144h
        • 144 divided by 24h is 6 days:
        • In human-readable format is within 1w.
        • This is correct behavior.

      Steps to Reproduce

      1. Create a 24/5 calendar
      2. Create an SLA with a goal that spans "more than a week"
      3. Create a new issue receiving the goal we created

      Expected Results

      If the SLA goal is 216h which means 9d, while starting the counter on a Monday (1st) at exactly 3PM, the breach date will fall on next week's Friday (12th) at exactly 3PM.

      The Human readable is shown as "Whithn 1w3d", however:

      Monday 1st, from 3PM to 0AM = 9h


      Tuesday 2nd = 24h
      Wednesday 3rd = 24h
      Thursday 4th = 24h
      Friday 5th = 24h


      (The weekend doesn't count)


      Monday 8th = 24h
      Tuesday 9th = 24h
      Wednesday 10th = 24h
      Thursday 11th = 24h


      Friday 12th, from 0AM to 3 PM = 15h


      Counting them all:

      8 days * 24h = 192h, which means: 1w1d

      Final: (Monday-1st) 9h + (Friday-12th) 15h = 24h or 1d;

      • The SLA goal must be completed "within 1w2d".

      Actual Results

      These screenshots are based on the above scenario.

      Human-readable format:

      Hours:minutes format:

      • Within means "during", "not after", etc...
      • So the actual 1w3d does not make sense.

      The SLA goal of 216h that "translates" to 9 full days, ending on the 9th day at 3PM should be "within 1w2d".

      The '3rd' day, that is the same Friday 12th, after 3pm, the SLA goal will have been breached, so it's not "within" the 1w3d period.

      Workaround

      Change the "Human-readable" format to "hours:minutes" using the application configuration.

              Assignee:
              Unassigned
              Reporter:
              Pietro Lemes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: