We are using the server to Cloud media import.
Below URL is to access source image ( JIRA server )
<<source-domain>>/jira/secure/attachment/2250654/screenshot-4.png
Below URL is to access destination image ( JIRA cloud )
<<destination-domain>>/rest/api/3/attachment/content/13738
1)What is the folder structure (source-JIRA server )we need to follow for importing
2) What is the destination URL we can use to access the imported image
Hi @shama.c.m ,
Im not entirely sure I understand your questions, but this is my jab at trying to address the points mentioned:
While migrating I followed the below approach.
Hope this helps
Hi Jehan ,
Thank you for your response .
Please can you elaborate with an example for Step 2 using the Jira Server API fetch the name of all attachments in a issue and their ID
Also please let me know how to do the mapping.
Thanks
Shama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @shama.c.m ,
You can use this API to get all the information present in the ticket : https://docs.atlassian.com/software/jira/docs/api/REST/1000.1568.0/#api/2/issue-getIssue
From here you can store the attachment name and ID, then you can use the ID to search for this issue in the server, and rename it accordingly. Once renamed, you can upload this file to the Jira Cloud using the Attachment PUT Api call.
---
PS: Just curious to know why you dont want to use the Migrate to Cloud option available OOB in Jira :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.