最近搜索
没有最近搜索

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
评论