  {%- if item.issues %}
        <details class="issues">
          <summary>
            Related issues under <span class="label">{{ item.issue_label }}</span>
          </summary>
          <ul>
            {%- for issue in item.issues | filter(attribute="open", value=true) | reverse %}
              {{ self::render_issue(issue=issue, class="") }}
            {%- endfor %}
            {%- for issue in item.issues | filter(attribute="open", value=false) | reverse %}
              {{ self::render_issue(issue