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

the SLA-web-panel aui-button is visible when no SLA metrics are configured

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.2.0
    • 3.14.0
    • SLA
    • None

    Description

      Summary

      When No SLA metrics are configured the div id="sla-web-panel" is visible on the issue view screen as an empty toggle option

      Steps to Reproduce

      1. Create Service Desk Project without any SLA Metrics
      2. Create and View an issue

      Expected Results

      SLA DIV header containing Toggle Option is not Visible

      Actual Results

      SLA DIV header containing Toggle Option is visible containing no data:

      <div id="sla-web-panel" class="module toggle-wrap expanded"><div id="sla-web-panel_heading" class="mod-header"><ul class="ops"></ul><a href="#" class="aui-button toggle-title"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><g fill="none" fill-rule="evenodd"><path d="M3.29175 4.793c-.389.392-.389 1.027 0 1.419l2.939 2.965c.218.215.5.322.779.322s.556-.107.769-.322l2.93-2.955c.388-.392.388-1.027 0-1.419-.389-.392-1.018-.392-1.406 0l-2.298 2.317-2.307-2.327c-.194-.195-.449-.293-.703-.293-.255 0-.51.098-.703.293z" fill="#344563"></path></g></svg></a><h4 class="toggle-title">SLAs</h4></div><div class="mod-content"><div class="sd-sla-webpanel-root" data-payload="{&quot;hasPreviousCycles&quot;:false,&quot;projectKey&quot;:&quot;TEST&quot;,&quot;goalViews&quot;:[],&quot;canAdministerProject&quot;:true}" resolved=""></div></div></div>
      

      Workaround

      Please see the following community Post:

      Attachments

        Issue Links

          Activity

            People

              tsebastian Tim Sebastian
              emccutcheon Earl McCutcheon
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync