Importing data from Bitbucket

The JIRA Bitbucket Importer plugin allows you to import data from Bitbucket into your local JIRA instance.

Before you begin

(warning) Note: For all of the following procedures, you must be logged in as a user with the JIRA Administrators global permission.

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:

  1. Choose > System
  2.  In the Import & Export section, select Bitbucket.
  3. 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. See Defining a project for more information about JIRA projects.

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.

  • The JIRA status field is integral to JIRA workflow.
  • To create a JIRA workflow, see Working with workflows.
  • To create a JIRA workflow scheme (which you can then associate with appropriate projects and Issue Types), see Managing your workflows.

User

User

You can choose to have the importer automatically create JIRA users for any Bitbucket users who do not already exist in JIRA.

  • Users who interacted with the Bitbucket system will be created as active accounts in JIRA. Other users will be imported into a special group called "bitbucket-import-unused-users" and will be deactivated.
  • Passwords from Bitbucket are not imported. Users from Bitbucket must have their passwords emailed to them the first time they log into JIRA.
  • If you are using External User Management, the import process will not be able to create JIRA users; instead, the importer will give you a list of any new users that need to be created. You will need to create the users in your external user repository before starting the import.
  • If you have a user-limited license (e.g. personal license), and the number of required users is larger than the limit, then the import will be stopped. A page will open and list the users that can't be created.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport