{% for bug in bugs %} {% if bug.status == "CLOSED" %}{{ bug }}{% else %}{{ bug }}{% endif %} {% endfor %}