How to import large JSON file into JIRA ?


I'm migrating from a JIRA SERVER 6.3 to JIRA SERVER 7.3 using Jira Importer Plugin (JIM).
I've created a python script generating a JSON file using REST API v2 calls. The file contains more than 280 projects, 56K issues and its size is about 850Mo.

Once the file is loaded on the server, when clicking on "Begin import", the request is sent and nothing happens. Hours later, the page is still waiting for a server response.

The JIRA SERVER 7.3 JVM memory had been raised to 4096Mo and Attachment file size has also been raised to 2048Mo in order to allow the file import.

I've tried with a 300Mo file, it works fine.
I've tried to monitor the memory during the import process, but it never goes beyond 70% usage when importing the 850Mo file.

Do you have any idea of the reason why the import fails ?

I would like to be able to do a 1 shot-import rather than split the file into smallers files.
Thanks in advance for your attention.

Best regards,

1 answer

0 votes

Hi Alexandre,

I have not seen a way around this so far.  There is a Suggestion closed as Won't Fix that you can find at JRASERVER-25858.  There was also a good discussion on this on another Communities post.



Hi Branden,

I thank you very much for your answer.
I'm not concerned by both subjects you mentionned as my file is 850Mo large (less than 2Go then).
The attachment size limit doesn't concern my case and has already been raised to the max.
The problem may be somewhere else (maybe file in-memory loading ?).
I'll try to raise the JVM memory again to see if it changes anything and keep you in touch.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

47 views 0 2
Read article

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