Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-358

SLA is not enabled for closed issues

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.

      Summary of bug

      When enabling Service Desk for an existing project, if there are already existing issues that are closed, those issues will not have the SLA counter, and as such will not be counted into the SLA reports

      Steps to reproduce

      1. Create a project and a few issues
      2. Close some of the issues (but not all)
      3. Enable Service Desk for that project
      4. Check the closed issues, there will not be any SLA there.

      An example :

      The project PNS has 5 issues :

      When searching for

      project = PNS and "Time to resolution" = breached()

      the results contains 1 issue :

      When searching for

      project = PNS and "Time to resolution" != breached()

      the results contains 3 issues :

      There is one more issue missing, and that issue was actually closed before Service Desk was enabled for this project. As such, the results from the two queries does not add up to the total amount of issues contained in the project.

      Additional Info

      • Although the closed issues will not have any SLA, the issues that are not closed yet will have SLA
      • If the closed issues are re-opened, then SLA will be enabled for it. However, the SLA will be reset
      • When Service Desk is activated for a project, the SLA information is actually already stored in the database, even for the closed issues. However, for some reason, it is not showing in the UI of the issue.

      Workaround

      To enable SLAs for already resolved issues, use the REST API SLA reconstruction call from this KB article: https://confluence.atlassian.com/jirakb/missing-or-corrupted-sla-data-in-jira-service-management-828790603.html

      This reconstruction call will ignore the fact that the issue was already resolved, and will add the SLA to this issue.

      Attachments

        1. SDS1.png
          SDS1.png
          57 kB
        2. SDS2.png
          SDS2.png
          36 kB
        3. SDS3.png
          SDS3.png
          49 kB
        4. SDS4.png
          SDS4.png
          30 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jtye Joe Wai Tye (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync