Importing Data from Bitbucket
The JIRA Bitbucket Importer plugin allows you to import data from Bitbucket into your local JIRA site.
Before you begin
- Install the JIRA Bitbucket Importer plugin. For instructions on how to install a plugin, see Installing Marketplace apps.
- Ensure that you are using version 6.0.4 or later of the JIRA Importers Plugin. This plugin is bundled with JIRA. For instructions on how to update a plugin, see Updating apps.
- Back up your existing JIRA data.
- Be sure that you have enabled the issue tracker on your Bitbucket repository and that you have administrator permission on it.
Import your Bitbucket data
The JIRA Bitbucket Importer plugin provides a wizard that walks you through the process of importing data and integrating it with JIRA. After you've installed it, run the wizard to import your Bitbucket data:
- Log into JIRA as a user with the JIRA Administrators global permission.
- Choose In the Import & Export section, select Bitbucket Import. > System.
Complete the fields as prompted in the wizard. Depending on how your sites are configured, you might be redirected to Bitbucket in order to set the authorization needed to export data.
If you are importing Bitbucket issues into an existing JIRA project, you must choose the JIRA workflow scheme used by that existing JIRA project when you are prompted to select the workflow scheme. Otherwise, your import may not complete successfully.
In addition, you must map Bitbucket statuses to JIRA statuses in order for JIRA workflows to work with the issues.
Tips for importing Bitbucket data into JIRA fields
The import process converts Bitbucket data as follows:
In Bitbucket | In JIRA | Import Notes |
---|---|---|
Repository | Project | Bitbucket data is imported on a per-project basis. You can either specify an existing JIRA project as the target, or the importer will automatically create one or more projects during the import. (For more information about JIRA projects, please see Defining a project.) |
Title | Summary | Bitbucket subject is imported as the JIRA issue summary. |
Worklog | Worklog | See Configuring Time Tracking. |
Reporter | Reporter | Bitbucket issue author is mapped as JIRA Issue Reporter. |
Attachments | Attachments | Attachments are extracted from Bitbucket and saved. Information on the date the file was attached and the user who attached it is retained, as well. To specify the location where the attachments are stored, see Configuring File Attachments. |
Kind | Issue Type | You can configure the mapping of specific kinds to specific JIRA issue types. |
Priority | Priority | You can configure the mapping of specific Bitbucket values to specific JIRA values. |
Status | Status | You can configure the mapping of specific Bitbucket values to specific JIRA values, provided you create your workflows in JIRA before running the importer.
|
User | User | You can choose to have the importer automatically create JIRA users for any Bitbucket users who do not already exist in JIRA.
|