Mantis からのデータのインポート
JIRA にバンドルされている JIRA インポーター プラグイン を使用すれば、ライブ Mantis データベースに接続して Mantis からデータをインポートできます。
Our main website highlights some top reasons why people migrate from Mantis to JIRA.
Version 4.2 or later of the JIRA Importers plugin is compatible with Mantis versions 1.1.8 to 1.2.8. The JIRA Importers plugin requires that your Mantis database is MySQL, PostgreSQL or Microsoft SQL Server. We have also received reports that the JIRA Importers plugin works with Oracle and DB2 databases. However, we have not tested this plugin against these databases.)
Mantis からのインポートのプロセスで必要なのは、Mantis インポート ウィザード の実行(下記)だけです。
- インポートプロセスでは個々のフィールドやフィールド値のマッピングを選択できます。一部は必須です。
- At the end of the Mantis Import Wizard, you will be given the option of creating a Mantis configuration file, which contains the settings you configured whilst running through the Mantis Import Wizard. This is useful if you need to test your Mantis import on a test JIRA server first before performing the import on a production system.
Mantis インポート ウィザードの実行
- Before you begin, please backup your JIRA data.
- JIRA 管理者 グローバル権限を持つユーザーとしてログインします。
- Choose > System. Select Import & Export > External System Import to open the Import external projects page.
Keyboard shortcut: g + g + start typing external system import
- Select the Import button associated with the Mantis option to open the Mantis Import Wizard: Setup page.
On the Mantis Import Wizard: Setup page, complete the following fields/options:
Mantis URL Mantis サイトの URL を指定します。これは、Web ブラウザで Mantis にアクセスするのに通常使用する URL です。 Specify credentials Select this check box if you want to import Mantis issues into JIRA, which require user credentials on your Mantis site to access them.
Selecting this check box reveals/hides the Mantis Login and Mantis Password fields, into which you should specify these user credentials.データベースタイプ Mantis インストールで使用するデータベースの種類を選択します。
- PostgreSQL
- Microsoft SQL Server
- MySQL
ホスト名 Mantis サイトのデータベース サーバーを実行しているサーバーのホスト名または IP アドレスを指定します。 ポート Specify the TCP/IP port that the Mantis site's database server is listening on. This field is automatically populated with the default port value based on the Database Type you choose above.
データベース Specify the name of your Mantis database (into which Mantis saves its data). The database name, username and user password can usually be found in the Mantis file
config_inc.php
. (Typically, the default username is "root" and the default password is empty). See also http://www.mantisbt.org/manual/manual.configuration.database.phpユーザ名 Mantis がデータベースに接続するために使用するデータベース ユーザーを指定します。 パスワード Mantis がデータベースに接続するために使用するデータベースユーザー(上記)のパスワードを指定します。 既存の設定ファイルを使用する Leave this check box cleared if you do not have a configuration file or if you want to create a new configuration file. Configuration files specify a mapping between fields in Mantis and those in JIRA. Note:
- このオプションを選択すると、既存の設定ファイルを指定するかどうか尋ねられます。
- このオプションを選択しない場合、Mantis インポート ウィザードの最後に、今後の Mantis インポート(Mantis インポート ウィザードの本ステップでの再利用)に使用できる設定ファイルが作成されます。
JDBC 接続パラメーター
(展開した 詳細設定 タブ内)The Mantis Import Wizard will construct a JDBC-based database URL from the Mantis database server details you specify above. JIRA uses this URL to connect to and import issues from Mantis. If you need to specify any additional connection parameters to your Mantis database, specify them here. If you chose MySQL (above), the Mantis Import Wizard will add several additional connection parameters by default.
次へ ボタンをクリックして、 Mantis インポート ウィザードの プロジェクト マッピングの設定 ステップに進みます。
- On the Set up project mappings page, select which Mantis projects you wish to import into JIRA.
All Mantis projects are selected by default, so clear the check boxes under Import of the Mantis projects you do not wish to import into JIRA.
For Mantis projects you wish to import into JIRA, click in Select a project and then do either of the following:- JIRA にすでに存在するプロジェクトの名前(またはキー)を入力するか、ドロップダウンメニューを使用して、既存の JIRA プロジェクトを選択します。
- ドロップダウンメニューから Create New を選択し、 Add A New Project ダイアログボックスで次の項目を入力します。
- 新規プロジェクトの名前
- A new project Key
This will be used as the prefix for all issue IDs in your JIRA project.
- プロジェクトリード
- Click the Next button to proceed to the Set up custom fields step of the Mantis Import Wizard.
This step will almost always appear because at least one Mantis field is not likely match an existing JIRA field.
- カスタムフィールド設定ページで、Mantis インポート ウィザードが既存の JIRA フィールドと一致させることができない Mantis の外部フィールドごとに、次のいずれかを選択します。
- have the Mantis Import Wizard automatically create new custom fields in JIRA based on the names of Mantis's fields. This is the default option - whereby the names of the JIRA custom fields to be automatically created appear in the JIRA field dropdown lists.
- create your own custom fields in JIRA to map data from Mantis's fields. To do this, choose Other from the JIRA field dropdown list and specify the name of your custom field in the new field appearing immediately below Other.
- 次へ ボタンをクリックして、Mantis インポート ウィザードの フィールド マッピングの設定 ステップに進みます。
- On the Set up field mappings page, if there External fields in Mantis whose values you wish to modify before they are imported into JIRA, select the Map field value check boxes next to the appropriate fields.
Please note that it is mandatory to map Mantis's status (i.e. Status) field to specific JIRA Status field values as the JIRA Status field is an integral part of JIRA workflows.
フィールド マッピング設定 ページに表示される可能性がある Mantis のその他の 外部フィールド は、以下のとおりです。
Mantis の外部フィールド「フィールド値のマッピング」チェックボックスをオフにします。username Mantis インポート ウィザードにより、Mantis ユーザー名が JIRA ユーザー名(小文字)に自動的にマッピングされます。 優先度 Mantis インポート ウィザードにより、JIRA で欠落している値が自動的に作成され、課題は適切な優先度で(例: Mantis の "Normal" が JIRA で新規作成された "Normal" へと)移行されるようになります。 重大度 Mantis インポート ウィザードは、このフィールドの値をマッピングしません。 resolution 既存の解決状況を使用する代わりに、インポーターにより JIRA での対応する解決状況が作成されます。 Select the appropriate JIRA Workflow Scheme in that will be used by the Mantis issues you will import into your JIRA project.
If you are importing your Mantis issues into an existing JIRA project, ensure that you choose the JIRA workflow scheme used by that existing JIRA project.
- 次へ ボタンをクリックして、Mantis インポート ウィザードの 値マッピングの設定 ステップに進みます。
- On the Set up value mappings page, specify JIRA field values for each Mantis field value (as detected by the Mantis Import Wizard).
Any fields whose Map field value check boxes were selected in the previous step of the Mantis Import Wizard will be presented on this page, including the mandatory status Mantis field.
- 次へ ボタンをクリックして、 Mantis インポート ウィザードの リンクの設定 ステップに進みます。
- On the Set up links page, specify the JIRA link type for each Mantis link type (as detected by the Mantis Import Wizard). To learn more about JIRA link types, please see Configuring Issue Linking.
- Click the Begin Import button when you are ready to begin importing your Mantis data into JIRA. The importer will display updates as the import progresses, then a success message when the import is complete.
Note:
- インポートで問題が生じた場合(または関心がある場合)、詳細ログのダウンロードリンクをクリックして、Mantis インポート ウィザードのプロセスに関する詳細情報を表示します。
- この手順を通じて使用した設定と同じ(または類似の)設定で、別の Mantis 製品/プロジェクトまたはサイトからインポートする必要がある場合は、設定を保存 リンクをクリックして、Mantis 設定ファイルをダウンロードします。この設定ファイルは、Mantis インポート ウィザードの 最初のステップ で使用できます。
お疲れ様でした。Mantis データが Jira に正常にインポートされました!ご不明な点や、問題が生じた場合は、アトラシアン サポートにご連絡ください。
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 Behavior). | |
要約 | 要約 |
| |
説明 | 説明 | テキスト内で、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 の特定の値へのマッピングを設定できます。
| |
ソリューション | ソリューション | Mantis の特定の値から JIRA の特定の値へのマッピングを設定できます。 | |
関係 | リンク | Mantis の特定の関係タイプから JIRA のリンクタイプへのマッピングを設定できます。
| |
CC List | ウォッチャー |
| |
ユーザー | ユーザー | Mantis ユーザーが JIRA に存在しない場合は、インポーターで対応する JIRA ユーザーを自動的に作成できます。
| |
その他のフィールド | カスタム フィールド | 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. |
|