Zendesk sync internal attachment

Originally asked by Sándor Jankovics on 07 March 2024 (original question)


Hi everyone,

We have a Zendesk and Jira cloud sync in place, where we now want to enable attachment sync as well.

During sync we don’t want to sync all attachments but the idea is that we upload those attachments once more as a part of an internal (create) comment.

My question is how can I get only those attachments that are mentioned in that private comment?

You can imagine that comment something like this. This is the comment that drives the sync


Answer by Sándor Jankovics on 11 March 2024

In case anybody needs it there is a hidden property in the object

replica.attachments = issue.attachments.findAll { attachment -> attachment.internal ==true }


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.