1
0
-1

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

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

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

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

        CommentAdd your comment...