Can't import attachment by CSV on a JIRA instance with a https URL of another JIRA instance Edited

We are trying to export issues from a JIRA instance in version 6.1.2 to another JIRA instance in version 7.2.6.
The issues we want to export are selected and formated with a SQL query, form the 6.1.2 instance, then saved as a csv file to use the JIRA csv importer of the 7.2.6 instance.
We are adding the attachments within the SQL query, so we have something like : https://our_jira_url/secure/attachment/attachment_id/attachment_name , in the column "Attachment" of our csv file.

When the csv import is launched, I get no mistakes, the import goes well.
I have an issue that is created, with an attached file which has the correct name.
But when I open it, I don't have the content of the original attachment but another

I have tried to had "username:password@" in the url: https://username:password@our_jira_url/secure/attachment/attachment_id/attachment_name  but I have the same results.

When we try the url below in a browser from the jira instance 7.2.6 or from another place, it works, we get the file.

1 answer

@GRT ENEDISwhy don't you sync Jira 6.1.2 attachment folder with Jira 7.2.6 instance attachment folder.

I prefer upgrading Jira 6.1.2 to 7.2.6 then take a xml and import in new Jira 7.2.6 instance. There are plugins to do this as well.

Take a look at Project configurator.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,312 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you