Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Difficulty migrating from Bitbucket to Jira Edited

My team has an existing bitbucket project, using Git and issues. I'm attempting to move the issues to Jira Cloud. I have exported the issues from Bitbucket to JSON and have attempted to import them into Jira using the guide here: https://confluence.atlassian.com/adminjiracloud/importing-data-from-json-776636779.html

I'm assuming that the db-jira-cloud.json file from the bitbucket export is the correct file to use. The problem with using this is that many of the fields in the file are incorrect.

For example, the issues in the bitbucket project use the statuses "New", "Open", "Closed", and "Resolved". However, in the export there are only "Backlog", "Selected For Development" and "Done". The issue types are similarly mismatched with the original tickets.

Is there any way to get an export from Bitbucket that can be imported into Jira without losing any information? Or am I going about this in completely the wrong way?

2 answers

2 accepted

1 vote
Answer accepted

Hi @AndyP 

Yep, the db-jira-cloud.json is the right file to use and you're approaching it the right way.  The doco for export is here: https://confluence.atlassian.com/bitbucket/export-issue-data-to-jira-cloud-993930294.html .


We have a problem that the issueTypes and statuses have to already exist in Jira before issues can be imported using them.  Everyone has a different Jira configuration and we don't know which Jira the issues go to when the export is generated, so we chose the most generic issue types and statuses we could.  I agree that it's frustrating that they don't match what's in bitbucket, we have plans to improve the export in the future but that doesn't help you right now.

You have a couple of options:

* The easiest would be to create a new project in Jira with the needed issueTypes and statuses, then use the bulk move function in Jira to move all the issues into that project.   Bulk move allows you to change the issue type and transition the status.

* The other option would be to modify the db-jira-cloud.json file so the issues have the right statuses and issue types before importing them into Jira.

I would use bulk move before modifying the json can be fiddly and time consuming to get it right.  The documentation on the issue import json format is on the page you linked (here).

Thanks for the advice. I was able to import successfully by creating all the same statuses and issue types in Jira as I had in bitbucket and also modifying the JSON file to match.

The process was a bit more involved than expected, so I'm happy to hear that there are plans to make this easier in the future.

0 votes
Answer accepted

Thanks for the sharing the experience 

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

271 views 2 10
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