最近の検索


最近の検索はありません

Integração Droz Nexo's Avatar

Integração Droz Nexo

参加日2024年1月09日

·

前回のアクティビティ2024年7月17日

フォロー中

0

フォロワー

0

合計アクティビティ

4

投票

1

サブスクリプション

1

アクティビティの概要

さんの最近のアクティビティ Integração Droz Nexo

Integração Droz Nexoさんがコメントを作成しました:

コメントBusiness rules

I use this template and I'm able to get an array of attachments with filename and url properties.

{
   "ticketId": "{{ticket.id}}",
   "externalId": "{{ticket.external_id}}",
   "tags": "{{ticket.tags}}",
   "comment": "{{ticket.latest_public_comment_html}}",
   "attachments": [
    {% for comment in ticket.comments limit:1 offset:0 %}
      {% for attachment in comment.attachments %}
        {
          "filename":"{{attachment.filename}}",
          "url":"{{attachment.url}}"
        }{% if forloop.last %}{% else %},{% endif %}
      {% endfor %}
    {% endfor %}
   ],
   "authorId": "{{ticket.latest_comment.author.id}}",
   "status": "{{ticket.status}}"
 }

 

コメントを表示 · 投稿日時:2024年7月17日 · Integração Droz Nexo

0

フォロワー

1

投票

0

コメント


Integração Droz Nexoさんがコメントを作成しました:

コメントBusiness rules

I see there's no content_type property in the attachment, would it be possible to add that?

コメントを表示 · 投稿日時:2024年1月09日 · Integração Droz Nexo

0

フォロワー

0

投票

0

コメント