Documentation for JIRA 5.0. Documentation for other versions of JIRA is available too.

JIRA ships with the JIRA Importers Plugin  pre-installed, so that you can import your bugs from Mantis.

(info) Our main website highlights some top reasons why people migrate from Mantis to JIRA. 

Version 2.0 or later of the JIRA Importers Plugin is compatible with Mantis versions 1.1.8 to 1.2.4. The JIRA Importers Plugin requires your Mantis database to be MySQL or PostgreSQL. (The JIRA Importers Plugin has also been reported to work with MS SQL, Oracle and DB2, but it has not been tested against these databases.)

 

(info) For the very latest version of the JIRA Importers Plugin, please visit plugins.atlassian.com.

The import process consists of:

  1. Running the Import Wizard to configure the import process and save it into a configuration file. (Note that you can edit your configuration file later by by re-running the Import Wizard and providing the name of your existing configuration file.)
  2. Configuring the connection from your JIRA server to the Mantis database.
  3. Running the import using your saved configuration file. You will typically do this several times (e.g. once or more for tests, once for production).

These steps are described in more detail below.

On this page:

(warning) The information on this page does not apply to JIRA OnDemand.

How to import from Mantis

  1. Before you begin, please backup your JIRA data.
  2. Log in to JIRA as as a user with the 'JIRA Administrators' global permission.
  3. Select 'Administration' > 'System' > 'Import & Export' > 'External System Import' > 'Mantis'.
  4. The 'Import issues from a Mantis installation' page will be displayed:
    Screenshot 1: the 'Import issues from a Mantis installation' page
  5. If you don't yet have a configuration file (or if you want to create a new one, or update the one you have), leave the 'Existing Configuration File' field blank and click 'Next' to create a new Configuration File:
    • Project Key Mappings: For each Mantis project that you wish to import into JIRA, select the JIRA 'Project category' (if applicable) and the JIRA 'Project key'.
      • To import into an existing JIRA project, type a project key (or project name) that already exists in JIRA.
        (warning) There is no warning or error message if you select an existing key (or existing project name with a different key). The importer will import issues to the project specified by the key (or project name).
      • To create a new JIRA project and import into it, type a project key that does not yet exist in JIRA.
        (info) The JIRA 'Project key' will be the prefix for the IDs of all issues in the given project.
    • Custom Fields: If your Mantis system contains any custom fields, you can either choose the JIRA custom field to which they will be mapped, or choose to have the importer automatically create a new custom field(s) in JIRA.
      (info) Regardless of whether you specify mapping, the importer will automatically create a JIRA custom field for each extra Mantis field, unless you un-check the 'Create new custom fields' option on the final 'Import Data' screen (see Screenshot 2 below).
    • フィールド値のマッピング:
      • 'Priority' field — If you don't specify mappings, the importer will automatically create missing values in JIRA and will ensure that the issues are migrated with the correct priority (e.g. "Normal" in Mantis to newly-created "Normal" in JIRA).
      • Usernames — If you don't specify mapping, the importer will automatically map Mantis usernames to JIRA usernames (lowercase).
        (info) Regardless of whether you specify mapping, JIRA will automatically create usernames for missing users unless you un-check the 'Create new users' option on the final 'Import Data' screen (see Screenshot 2 below).
      • 'Status' field — It is mandatory to map the Mantis 'Status' field to specific values of the JIRA 'Status' field, as the JIRA 'Status' field is integral to JIRA workflow (to learn more, please see What is Workflow and Configuring Workflow).
      • 「解決状況」フィールド ー マッピングを指定しない場合、インポーターは既存のものは使用せず、対応する解決状況を作成します。
    • Link Types: To learn more about JIRA link types, please see Configuring Issue Linking.
  6. Configure the connection details to your Mantis database as follows:
    • Mantis URL — the URL of your Mantis instance.
    • Mantis Login — the Mantis user to use during the import.
    • Mantis Password — the password of the Mantis user to use during the import.
    • Database URL— the location of the Mantis MySQL database server. Enter this in the following format:

      jdbc:mysql:host[:port]/databasename?parameters
      • host — the server hosting the Mantis MySQL database. You can specify which incoming TCP connections to allow by using the port parameter (defaults to 3306).
      • databasename — the name of the Mantis MySQL database (usually 'bugtracker').
        (info) The database name, username and user password can usually be found in the Mantis file 'config_inc.php' (the default username is "root", default password is empty). See also http://www.mantisbt.org/manual/manual.configuration.database.php
    • Database Login — the database user that JIRA will use to access the Mantis database.
      (warning) Ensure that this account can access your Mantis database from the machine where JIRA is running.
    • Database Password — the password of the database user that JIRA will use to access the Mantis database.
    • Driver Name— The fully qualified name of the base class of the JDBC driver to use.:
      • "com.mysql.jdbc.Driver" for MySQL.
      • "org.postgresql.Driver" for PostgreSQL.
    • 'Maximum issues and failues' — If you wish, specify a maximum number of failed issues after which the importer will stop. If you want the import to continue regardless of any failures, leave this field blank. If your Mantis instance has a large number of issues, it's generally a good idea to run first the importer on a limited number of issues (e.g. 100), then manually inspect the imported issues to confirm whether your configuration file was specified correctly. When the results are satisfactory, you can run the import with no limit.
  7. インポーターは、インポートの進行に合わせて更新状況を示し、インポートが完了すると、正常完了したことを示すメッセージを表示します。ご希望の場合は、インポート・ログをダウンロードすることができます。

Congratulations, you have successfully imported your Mantis projects into JIRA! If you have any questions or encounter any problems, please contact Atlassian support.

Mantis データを JIRA フィールドにインポートするためのヒント

インポートのプロセスで、次のデータが Mantis データベースから JIRA にコピーされます。

Mantis の場合

JIRA 内

インポート時の注意

プロジェクト
サブプロジェクト

プロジェクト

Mantis 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 a project(s) for you at time of import. (For more information about JIRA projects, please see Defining a Project.)

カテゴリ

コンポーネント

インポーターが JIRA に Mantis コンポーネントを自動作成する、または JIRA のコンポーネントにバグがインポートされないようにする、などの選択が可能です。

バージョン

修正対象バージョン

Mantis からバージョンがインポートされます(選択した場合)。インポート後、必要に応じて、該当のバージョンを JIRA のリリース済み状態に手動設定できます。

バグ

課題

Every Mantis bug becomes a JIRA issue of type 'Bug'.

ID

Bug Import ID

Each imported issue will be given a new JIRA ID, and the old Mantis ID will be saved into a JIRA custom field called 'Bug Import ID'. This custom field is searchable, so you can search for JIRA issues by their old Mantis ID. If you don't need this custom field, delete it or 'hide' it (as described in Specifying Field Behaviour).

要約

要約

 

説明

説明

テキスト内で、Mantis リンク(# 1234 など)は JIRA リンク(TST- 123 など)に変換されます。

コメント

コメント

テキスト内で、Mantis リンク(# 1234 など)は JIRA リンク(TST- 123 など)に変換されます。

添付ファイル

添付ファイル

Attachments are extracted from the Mantis database and saved to disk. To specify the location on disk, see Configuring File Attachments.

Priority

優先度
(またはカスタムフィールド)

Mantis 優先度フィールドと Mantis 重大度フィールド(下記)のうち、一方を組み込みの JIRA 優先度フィールドにマッピングし、もう一方をカスタムフィールドにマッピングする選択ができます。 (または、Mantis 優先度フィールドと Mantis 重大度フィールドの両方を JIRA カスタムフィールドにマッピングできます)。 JIRA 優先度フィールドにインポートする場合、Mantis の特定の値から JIRA の特定の値へのマッピングを設定できます。

深刻度

優先度
(またはカスタムフィールド)

Mantis 優先度フィールド(上記参照)と Mantis 重大度フィールドのうち、一方を組み込みの JIRA 優先度フィールドにマッピングし、もう一方をカスタムフィールドにマッピングする選択ができます。 (または、Mantis 優先度フィールドと Mantis 重大度フィールドの両方を JIRA カスタムフィールドにマッピングできます)。 JIRA 優先度フィールドにインポートする場合、Mantis の特定の値から JIRA の特定の値へのマッピングを設定できます。

ステータス

ステータス

インポーターを実行する前に JIRA でワークフローを作成している場合、Mantis の特定の値から JIRA の特定の値へのマッピングを設定できます。

  • The JIRA 'Status' field is integral to JIRA workflow. To learn more, please see What is Workflow.
  • To create a JIRA workflow, please see Configuring Workflow.
  • To create a JIRA workflow scheme (which you can then associate with appropriate projects and Issue Types), please see Activating Workflow.

ソリューション

ソリューション

Mantis の特定の値から JIRA の特定の値へのマッピングを設定できます。

関係

リンク

Mantis の特定の関係タイプから JIRA のリンクタイプへのマッピングを設定できます。

CC List

ウォッチャー

 

ユーザー

ユーザー

Mantis ユーザーが JIRA に存在しない場合は、インポーターで対応する JIRA ユーザーを自動的に作成できます。

  • Mantis システムを使用するユーザーは、JIRA のアクティブ アカウントとして作成されます。 他のユーザーは "mantis-import-unused-users" という特別なグループにインポートされ、非アクティブ化されます。
  • Mantis のパスワードはインポートされません(データベースでハッシュ化されているためです)。 Mantis ユーザーは、JIRA への初回のログイン時にパスワードをメールで通知してもらう必要があります。
  • Mantis で実名を保存していないユーザーの場合、メール アドレス(ログイン名)の "@" 文字の前の部分が 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 commencing the import.
  • ユーザー数に制限のあるライセンス (例: パーソナル ライセンス) で、必要なユーザー数が制限を超える場合、インポートは停止されます。作成できないユーザーの一覧を示すページが表示されます。

その他のフィールド

カスタム フィールド

If your Mantis system contains any custom fields, you can choose to map them to specific JIRA custom field(s). If your custom fields don't yet exist in JIRA, the importer can automatically create them for you.