Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to import GitLab issues to Bitbucket


I am trying to import my GitLab Issues list (given in .csv format) into my Bitbucket repository because we are moving to Bitbucket.

Based on this , I've written a little python script to read in the csv with the GitLab issues and convert them to expected json format.

My question: Which fields are really required and what to name the resulting json file ? I have tried naming it db-2.0.json aswell as db-1.0.json. Afterwards i zipped the file and tried to upload it. The error message from Bitbucket:

No db found in archive.



Thank you,




P.S.: Somehow I could not find anything on the internet addressing this topic.


1 answer

1 accepted


Although I received emails about Bitbucket failing to import my issues, a while later I got one about a successful import. So it seems (i don't know why or how) that Bitbucket imported my issues correctly. I have also confirmed that inside the repo where all my issues appear. When a new issue is created, the issue id continues from the last imported issue number.


UPDATE v2.0:

tldr: As it seems the file has to be called db-1.0.json instead of db-2.0.json

Now everything works fine.

for me its not even working

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

190 views 2 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you