Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need help with Scriptrunner and OneDrive integration!

Manuel Peralta Sun May 17, 2021

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.

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Matt Doar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2021

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.

Dave Liao
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2021

@Manuel Peralta Sun - What Matt said - I'm curious too!

Are you looking to replace Jira's native attachment feature?

Rodolfo So July 4, 2022

Same issue here

TAGS
AUG Leaders

Atlassian Community Events