You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hey guys! I was wondering if anyone knows of a way to trigger file uploads to onedrive using scriptrunner. I was thinking something in the lines of a listener triggered when a newly created issue is updated with an attachment, and it takes action by uploading it to a specific OneDrive folder.
What's the use case for this? Some kind of backup perhaps?
However you do it, I'd be concerned about scaling because the total size of Jira attachments gets pretty large.
One approach in an on-prem Jira is to use the fileattachment table in the database. This contains a date of when the attachment was added. So an external process can be used to copy the file somewhere else.