Trigger - Count Attachments

2 Commentaires

  • Graeme Carmichael
    Community Moderator

    Linus

    Try this:

    {% for comment in ticket.comments limit:1 offset:0 %}
    {{comment.value_rich}}
    {% unless comment.attachments == empty %}
    You need to log in to download attachments.
    {% for attachment in comment.attachments %}
    {{attachment.filename}} - {{attachment.url}}
    {% endfor %}
    {% endunless %}
    {% endfor %}
    2
  • Linus

    Hi Graeme, that is the solution. Great!

     

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk