Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-8757

JQL for SLA function remaining() returns breached issues

XMLWordPrintable

      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()
      

              Unassigned Unassigned
              vromero Victor Romero
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: