Bugzilla からのデータ インポート
Bugzilla インポートプロセスでは、次のように Bugzilla Import Wizard を実行するだけです。
- インポートプロセスでは個々のフィールドやフィールド値のマッピングを選択できます。一部は必須です。
- Bugzilla Import Wizard の最後に、Bugzilla 設定ファイルを作成するオプションが表示されます。これには、Bugzilla Import Wizard を通じて行った設定が含まれています。 これは、プロダクションシステムでインポートを実行する前にテスト用 JIRA サーバーで Bugzilla のインポートをテストする必要がある場合に便利です。
注意:
- JIRA の文字エンコーディングは既定で UTF-8 に設定されています。ただし、JIRA インストーラの文字エンコーディングが UTF-8 以外に設定されている場合、Bugzilla からのデータのインポートに問題が発生する可能性があります。 詳細については、JIM-5 を参照してください。UTF-8 以外の JIRA インストールへの Bugzilla データのインポートはサポートされていません。
Bugzilla Import Wizard の実行
開始する前に、JIRA データをバックアップしてください。
- Bugzilla システムで Bugzilla の 'サニティーチェック' を実行し、データにエラーがないことを確認します。
- Jira 管理者グローバル権限を持つユーザーとしてログインします。
- > [システム] を選択します。[インポートとエクスポート] > [外部システム インポート] を選択し、[外部プロジェクトのインポート] ページを開きます。
- Select Bugzilla to open the Bugzilla Import Wizard: Setup page.
Bugzilla Import Wizard: Setup ページで、次のフィールド/オプションを入力します。
Bugzilla URL Bugzilla サイトの URL を指定します。これは、Web ブラウザを通じて Bugzilla にアクセスするために通常使用する URL です。 Specify credentials Select this checkbox if you want to import Bugzilla issues into JIRA, which require user credentials on your Bugzilla site to access them.
Selecting this checkbox reveals/hides the Bugzilla Login and Bugzilla Password fields, into which you should specify these user credentials.
If your Bugzilla site requires credentials and you do not specify them here, Bugzilla "Big File" attachments will not be imported.
データベース タイプ Bugzilla インストールで使用するデータベースのタイプを選択します。
- PostgreSQL
- Microsoft SQL Server
- MySQL
ホスト名 Bugzilla サイトのデータベースサーバーを実行しているサーバーのホスト名および IP アドレスを指定します。 ポート Specify the TCP/IP port that the Bugzilla 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 Bugzilla database (into which Bugzilla saves its data).
This database name can usually be found in the 'localconfig' file in Bugzilla's root directory, for example,
/etc/bugzilla/
ユーザ名 Specify the database user that Bugzilla uses to connect to its database.
This database user can usually be found in the 'localconfig' file in Bugzilla's root directory, for example,
/etc/bugzilla/
パスワード Specify the password of the database user (above) that Bugzilla uses to connect to its database.
This password can usually be found in the 'localconfig' file in Bugzilla's root directory, for example,
/etc/bugzilla/
既存の設定ファイルを使用する Leave this checkbox 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 Bugzilla and those in JIRA.
Note:
- このオプションを選択すると、既存の設定ファイルを指定するかどうか尋ねられます。
- このオプションを選択しない場合、Bugzilla Import Wizard の最後に、この後の Bugzilla インポート (Bugzilla Import Wizard のこのステップでの再利用) に使用できる設定ファイルが作成されます。
JDBC connection parameters
(展開した Advanced タブ)The Bugzilla Import Wizard will construct a JDBC-based database URL from the Bugzilla database server details you specify above. JIRA uses this URL to connect to and import issues from Bugzilla. If you need to specify any additional connection parameters to your Bugzilla database, specify them here.
If you chose MySQL (above), the Bugzilla Import Wizard will add several additional connection parameters by default.
次へボタンをクリックして、Bugzilla Import Wizard のプロジェクトマッピングの設定ステップに進みます。
- On the Setup project mappings page, select which Bugzilla projects you wish to import into JIRA.
All Bugzilla projects are selected by default, so clear the checkboxes under Import of the Bugzilla projects you do not wish to import into JIRA.
For Bugzilla projects you wish to import into JIRA, click in Select a project and then do either of the following:- JIRA にすでに存在するプロジェクトの名前(またはキー)を入力するか、ドロップダウンメニューを使用して、既存の JIRA プロジェクトを選択します。
- ドロップダウンメニューから 新規作成 を選択し、表示される 新規プロジェクトの追加 ダイアログボックスで、次の項目を入力します。
- 新規プロジェクトの名前
- 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 Setup custom fields step of the Bugzilla Import Wizard.
This step will almost always appear because at least one Bugzilla field is not likely match an existing JIRA field.
- カスタムフィールドの設定ページで、Bugzilla Import Wizard が既存の JIRA フィールドと一致させることのできない Bugzilla の外部フィールドごとに、次のいずれかを選択できます。
- Bugzilla Import Wizard で、Bugzilla のフィールド名に基づき、JIRA の新規カスタムフィールドを自動的に作成します。これは既定のオプションです。自動的に作成された JIRA カスタムフィールドの名前がJIRA フィールド ドロップダウンリストに表示されます。
- create your own custom fields in JIRA to map data from Bugzilla's fields. To do this, choose Other from the JIRA field drop-down list and specify the name of your custom field in the new field appearing immediately below Other.
For more information about matching Bugzilla fields to JIRA fields, see Tips for importing Bugzilla data into JIRA fields below.
- 次へボタンをクリックして、Bugzilla Import Wizard のフィールドマッピングの設定ステップに進みます。
On the Setup field mappings page, if there External fields in Bugzilla whose values you wish to modify before they are imported into JIRA, select the Map field value checkboxes next to the appropriate fields.
Please note that it is mandatory to map Bugzilla's bug_status (i.e. Status) field to specific JIRA Status field values as the JIRA Status field is an integral part of JIRA workflows.
フィールドマッピングの設定ページに表示される、Bugzilla のその他の外部フィールドは次のとおりです。
Bugzilla の外部フィールド 「フィールド値のマッピング」チェックボックスをオフにします。 login_name Bugzilla Import Wizard により、Bugzilla ユーザー名が JIRA ユーザー名 (小文字) に自動的にマッピングされます。 優先度 Bugzilla Import Wizard により、JIRA で欠落している値が自動的に作成され、課題が適切な優先度 (例:Bugzilla の "Normal" が JIRA で新規作成された "Normal") で移行されます。 resolution 既存の解決状況を使用する代わりに、インポーターにより JIRA での対応する解決状況が作成されます。 Select the appropriate JIRA Workflow Scheme in that will be used by the Bugzilla issues you will import into your JIRA project.
If you are importing your Bugzilla issues into an existing JIRA project, ensure that you choose the JIRA workflow scheme used by that existing JIRA project.
- 次へボタンをクリックして、Bugzilla Import Wizard の値マッビングの設定ステップに進みます。
On the Setup value mappings page, specify JIRA field values for each Bugzilla field value (as detected by the Bugzilla Import Wizard).
Any fields whose Map field value checkboxes were selected in the previous step of the Bugzilla Import Wizard will be presented on this page, including the mandatory bug_status Bugzilla field.
- 次へボタンをクリックして、Bugzilla Import Wizard のリンクの設定ステップに進みます。
リンクの設定ページで、(Bugzilla Import Wizard で検出された) Bugzilla の各リンクタイプに対応する JIRA のリンクタイプを指定します。JIRA のリンクタイプの詳細については、「課題リンクの設定」を参照してください。
- Click the Begin Import button when you are ready to begin importing your Bugzilla data into JIRA. The importer will display updates as the import progresses, then a success message when the import is complete.
Note:
- If you experience problems with the import (or you are curious), click the download a detailed log link to reveal detailed information about the Bugzilla Import Wizard process.
- この手順を通じて使用した設定と同じ (または類似の) 設定で、別の Bugzilla 製品/プロジェクトまたはサイトをインポートする必要がある場合は、設定を保存リンクをクリックして、Bugzilla 設定ファイルをダウンロードします。この設定ファイルは、Bugzilla Import Wizard の最初の手順で使用できます。
お疲れ様でした。Bugzilla データが Jira に正常にインポートされました!ご不明な点や、問題が生じた場合は、アトラシアン サポートにご連絡ください。
Bugzilla データを JIRA フィールドにインポートするためのヒント
インポートプロセスでは、次のデータが Bugzilla データベースから JIRA にコピーされます。
Bugzilla | JIRA 内 | インポート時の注意 | |
---|---|---|---|
製品 | プロジェクト | Bugzilla データはプロジェクト単位でインポートされます。ターゲットとして既存の JIRA プロジェクトを指定できますが、指定しなくても、インポート時にインポーターによって自動的に新規プロジェクトが作成されます。JIRA プロジェクトの詳細については、「プロジェクトの定義」を参照してください。 | |
External Project | Project Category |
| |
バージョン | 影響バージョン | ||
コンポーネント | コンポーネント | インポーターによって JIRA に Bugzilla コンポーネントを自動作成するか、JIRA のコンポーネントにバグをインポートしないかを選択できます。 | |
マイルストーン | 修正対象バージョン | (選択した場合は) Bugzilla からバージョンがインポートされ、Un-Released および Un-Archived 状態に設定されます。 | |
バグ | 課題 | Bugzilla のすべてのバグは JIRA で 'Bug' タイプの課題になります。ただし例外として、重大度が 'Enhancement' の Bugzilla 課題は 'Improvement' タイプ、優先度 'Major' の JIRA 課題になります。 | |
ID | External issue ID | インポートした各課題には新しい JIRA ID が与えられ、古い Bugzilla ID は「外部課題 ID」という JIRA カスタムフィールドに保存されます。このカスタムフィールドは検索可能であり、旧 Bugzilla ID で JIRA の課題を検索できます。 このカスタムフィールドが不要な場合は、削除または「非表示」にすることができます (「フィールド動作の指定」で説明しています)。 | |
要約 | 要約 |
| |
説明 | 説明 |
| |
コメント | コメント |
| |
添付ファイル | 添付ファイル | Bugzilla データベースから添付ファイルが抽出され、ディスクに保存されます。ディスク上の場所を指定するには、「ファイル添付を設定する」を参照してください。 | |
Priority | 優先度 | Bugzilla の優先度フィールドと Bugzilla の重大度フィールド (前述) のうち一方を組み込みの JIRA 優先度フィールドにマッピングし、もう一方をカスタムフィールドにマッピングするよう選択できます (または、Bugzilla 優先度フィールドと Bugzilla 重大度フィールドの両方を JIRA カスタムフィールドにマッピングできます)。 JIRA 優先度フィールドにインポートする場合、Bugzilla の特定の値から JIRA の特定の値へのマッピングを設定できます。 | |
深刻度 | 優先度 | Bugzilla の優先度フィールド (前述) と Bugzilla の重大度フィールドのうち一方を組み込みの JIRA 優先度フィールドにマッピングし、もう一方をカスタムフィールドにマッピングするよう選択できます (または、Bugzilla 優先度フィールドと Bugzilla 重大度フィールドの両方を JIRA カスタムフィールドにマッピングできます)。 JIRA 優先度フィールドにインポートする場合、Bugzilla の特定の値から JIRA の特定の値へのマッピングを設定できます。 | |
ステータス | ステータス | Bugzilla の特定の値から JIRA の特定の値へのマッピングを設定できます。
| |
ソリューション | ソリューション | Bugzilla の特定の値から JIRA の特定の値へのマッピングを設定できます。 | |
Duplicates | Link | Bugzilla の特定のリンクタイプから JIRA のリンクタイプへのマッピングを設定できます。
| |
Work History | Work Log | Bugzilla の各作業ログレポートは JIRA では別の作業ログエントリとして表示されます。 | |
見積 | 初期見積り | 「タイムトラッキングの設定」を参照してください。 | |
残り | 残余見積り | 「タイムトラッキングの設定」を参照してください。 | |
記録済 | 消費時間 | 「タイムトラッキングの設定」を参照してください。 | |
投票数 | Voters | ユーザーが 1 つの Bugzilla 課題に対して 1 回以上投票すると、そのユーザーに対して JIRA の投票が保存されます。 | |
CC List | ウォッチャー |
| |
ユーザー | ユーザー | Bugzilla ユーザーが JIRA に存在しない場合は、インポーターで JIRA ユーザーを自動的に作成できます。
| |
Status Whiteboard | Status Whiteboard | 'Status Whiteboard' という JIRA カスタムフィールドが作成されます。 | |
その他のフィールド | カスタム フィールド | Bugzilla システムにカスタムフィールドがある場合、特定の JIRA カスタムフィールドへのマッピングを行うことができます。JIRA にカスタムフィールドがまだ存在していない場合、インポーターによって自動的にカスタムフィールドが作成されます。 |
|