JQL for SLA function remaining() returns breached issues

XMLWordPrintable

    • 4
    • Severity 3 - Minor
    • 2

      Issue Summary

      When performing a JQL search using the SLA function remaining(), breached issues are returned.

      Steps to Reproduce

      1. Open the issue navigator (Search > Advanced search for issues > Switch to JQL);
      2. Perform a search using the function remaining, like in the example below
        "Time to resolution" < remaining("2h")
      3. Observe the results.

      Expected Results

      This function shouldn't return breached issues according to Commonly used functions when writing SLA queries

      remaining()

      This filters issues whose SLA cycle's clock meets a specified time condition before the issue will breach an SLA goal.

      Actual Results

      Breached issues are included in the search results.

      Workaround

      Add "AND "SLA Name" != breached()" to your query
      Example:

      "Time to resolution" < remaining("2h") AND "Time to resolution" != breached()
      

              Assignee:
              Unassigned
              Reporter:
              Victor Romero
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: