Issue with large attachments

Originally asked by George Smith on 23 September 2022 (original question)


We currently have a lot of issues with large attachments being added to Jira and the sync subsequently failing because the attachments are too big for SN.

How can we prevent this issue from happening?


Comments:

Support commented on 23 September 2022

Hi George,

You may want to stop large attachments from syncing over. We can easily do that by doing the following on the outgoing Jira side:

replica.attachments = issue.attachments.findAll {it.filesize <= 50000}

This line would not add any attachments to the replica which are greater than 50,000 bytes.

Feel free to contact us back if you have any further question

Kind regards,

Harold Cruz

Answer by Syed Majid Hassan on 24 September 2022

George Smith please review this post for more details on the subject.

Hope it helps!

Thanks

Majid


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