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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.2.0
    • Affects Version/s: 3.14.0
    • Component/s: SLA
    • None
    • 1
    • Severity 3 - Minor
    • 1

      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:

            Assignee:
            Tim Sebastian
            Reporter:
            Earl McCutcheon
            Votes:
            4 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: