Details
-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
1
-
Severity 2 - Major
-
Description
Summary
It is not possible to import Bitbucket issues via JSON importer
Steps to Reproduce
- Export issues from Bitbucket repository using the steps outlined on this CAC KB
- Try to import JSON file by selecting the JSON option in the JIRA Import Wizard - External System Import
Expected Results
Issues are created
Actual Results
Issues are not created. Message: "No issues and projects imported"
When clicking on the download detailed log of this report, an message like the following is shown:
2017-07-13 00:00:00,000 INFO - Import started by admin using com.atlassian.jira.plugins.importer.sample.SampleDataBean 2017-07-13 00:00:00,067 INFO - ------------------------------ 2017-07-13 00:00:00,067 INFO - Importing: Users 2017-07-13 00:00:00,067 INFO - ------------------------------ 2017-07-13 00:00:00,068 INFO - Only new items will be imported 2017-07-13 00:00:00,109 INFO - 0 users associated with import. All of them imported as inactive, this can be changed after import in User Access step. 2017-07-13 00:00:00,109 INFO - ------------------------------ 2017-07-13 00:00:00,109 INFO - Finished Importing : Users 2017-07-13 00:00:00,109 INFO - ------------------------------ 2017-07-13 00:00:00,109 INFO - 0 users successfully created. 2017-07-13 00:00:00,165 INFO - Retrieving projects... 2017-07-13 00:00:00,410 INFO - ------------------------------ 2017-07-13 00:00:00,410 INFO - Importing: Issues 2017-07-13 00:00:00,410 INFO - ------------------------------ 2017-07-13 00:00:00,410 INFO - Only new items will be imported 2017-07-13 00:00:00,462 INFO - 0 issues successfully created 2017-07-13 00:00:00,498 INFO - ------------------------------ 2017-07-13 00:00:00,498 INFO - Finished Importing : Issues 2017-07-13 00:00:00,498 INFO - ------------------------------ 2017-07-13 00:00:00,504 INFO - ------------------------------ 2017-07-13 00:00:00,505 INFO - Importing: Issue Links & Subtasks 2017-07-13 00:00:00,505 INFO - ------------------------------ 2017-07-13 00:00:00,505 INFO - Only new items will be imported 2017-07-13 00:00:00,505 INFO - ------------------------------ 2017-07-13 00:00:00,505 INFO - Finished Importing : Issue Links & Subtasks 2017-07-13 00:00:00,505 INFO - ------------------------------ 2017-07-13 00:00:00,537 INFO - No issues need to be reindexed.
Workaround
Possible workarounds:
- A simple JSON to CSV converter does not work. You have to re-format the data using something like the https://bitbucket.org/Enharmonic/bitbucket-to-jira-issue-conversion tool (that is outdated and not supported).
- Download and install a test JIRA Server (latest release) locally. Use the native BB importer to import the issues in there. Follow the steps in below KB to merge the 2 instances together (since you only have 1 Cloud instance you can skip step #1 of the KB):
Attachments
Issue Links
- relates to
-
JRACLOUD-67311 Ability to Import Bitbucket Issues into JIRA in JSON
- Closed