I have a requirement where I am supposed to transact attachments over two instances. I need to transfer the file from source (preferably through custom REST), and receive it in destination and then manipulate. I am unable to find a way.
Back-ground : I tried various options before this like, curl (curl -L -O -k -u 'username:password' -X GET BASE_URL/secure/attachment/FILE_ID/FILE_NAME). It gets downloaded from my machine perfectly but when I execute from the groovy console, it is getting downloaded with weird content inside. The file size of file downloaded from groovy is also coming out same irrespective of actual size. I used various other options (converting to bytes and streaming it out), but all are downloading with content changed.
Is there any other way that I can manage files across two different instances from script/program?
Hi Yoga, it is basically moving attachments (Jira to Jira, two different instances) of an issue from one instance to issue of another. Size can be anything, location is generic jira standard.
Hi @AnupamS
Can you please confirm if you want to transfer the attachments from any Atlassian application ?Are the attachments stored in any specific location? What is the size of the attachments?
Thanks
Yoga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.