Hello All,
We are migrating projects from one instance to another instance manually by CSV file. We are planning to migrate attachments using CSV file by the below method mentioned in the article-
We have almost ~1500 attachments in the projects. How to get attachments paths and Issue key of the attachments to the CSV file from the Server?.
Thanks in Advance,
Manikanta
Hi @manikanta ch - The Bob Swift Jira CLI has excellent support for working with attachments including being able to download and upload complete sets of attachments.
Briefly you would follow these steps:
FYI: I'm the product manager for the Bob Swift Atlassian CLI line of products.
I wouldn't recommend doing it this way. You're going to lose all the comments, as well as the history of issues, in addition to needing to turn all the attachments in to URLs.
I'd recommend using Botron's Configuration Manager App instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dave Theodore [Coyote Creek Consulting] ,
We already have CM add-on in our instance. But we don't want to use this add-on for the migrations currently.
I will export and import all issue data, comments using CSV file. Please let me know if there is any solution for attachments as I mentioned above.
Thanks in advance,
Manikanta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no way to export comments using native Jira capabilities. You will need to write a script to harvest them from the database, then put them in the correct format and add them to the CSV file.
Check this article on the format you will need to use for CSV importing attachments. You'll need to write a script that queries the database to pull out the original filename and the pointer to the file on disk, then rename the file back to the original name. Once you have that done, you will need to add the URL for each attachment to the CSV, with one attachment per column.
I did this exact thing for a client years ago before Botron existed. It's probably 1000 times more work than just using their App.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree CM add-on is very easy to migrate projects from one instance to another instance. We have tested migrating projects using CM add-on multiple times but it is making global configuration changes for example - Priority icons, Issue links in the target instance even though we selected not to merge avatars and Description option.
Thanks for the article I will look into it.
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.