How to import large JSON file into JIRA ?

Hello,

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,
Alex

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.

Cheers,

Branden

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.

Cheers,

Alex

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

34 views 0 2
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