Trac からのデータのインポート

The JIRA Importers plugin, which is bundled with JIRA, allows you to import data from Trac from a compressed Trac environment.

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

 Version 2.6.1 or later of the JIRA Importers Plugin is compatible with Trac version 0.12.2.

JIRA へのデータのインポートに使用する Trac の準備

Tracの環境を圧縮:

  1. Tracの環境にアクセスします。
  2. If you use SQLite (the Trac default), PostgreSQL or MySQL for your Trac database, ensure your database URL (defined in Trac's conf/trac.ini file) is also reachable from JIRA server (using 'localhost' or a UNIX socket will not work).
  3. 先頭のディレクトリなしのTrac環境の内容をzip形式で圧縮します。

Trac Import Wizard を実行する

Before you begin: If your JIRA installation has existing data — Back up your existing JIRA data.

  1. JIRA 管理者 グローバル権限を持つユーザーとしてログインします。
  2. Select Administration > System > Import & Export > External System Import > Import button associated with the Trac option to open the Trac Import Wizard: Setup page.
    (tick)  Keyboard shortcut: g + g + start typing external system import
  3. Trac Import Wizardでは、ページを設定し、上記で準備した、圧縮Tracの環境ファイルを選択します。
  4. Leave the Use an existing configuration file 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 Trac and those in JIRA.
    • このオプションを選択すると、既存の設定ファイルを指定するかどうか尋ねられます。
    • このオプションを選択しない場合、Tracインポート ウィザードの最後に、今後の Trac インポート(Trac インポート ウィザードの本ステップでの再利用)に使用できる設定ファイルが作成されます。
  5. 次へボタンをクリックして、 Trac Import Wizard の プロジェクトマッピングの設定 ステップに進みます。
  6. プロジェクトマッピングの設定 ページで、JIRA にインポートする Trac プロジェクトを選択します。
    • JIRA にすでに存在するプロジェクトの名前(またはキー)を入力するか、ドロップダウンメニューを使用して、既存の JIRA プロジェクトを選択します。
    • Select Create New from the dropdown menu and in the resulting Add A New Project dialog box, type the following:
      1. 新規プロジェクトの名前
      2. A new project Key.
        (info) This will be used as the prefix for all issue IDs in your JIRA project.
      3. プロジェクト リーダー
  7. Click the Next button to proceed to the Setup custom fields step of the Trac Import Wizard.
    (info) This step will almost always appear because at least one Trac field is not likely match an existing JIRA field.
  8. カスタムフィールド: Tracシステムに、任意のカスタムフィールドが含まれている場合は、既存のJIRAカスタムフィールドにインポートするか、インポーターが自動的にJIRAに新しいカスタムフィールドを作成か、選択することができます。
  9. (info) Regardless of whether you specify mapping, the importer will automatically create a JIRA custom field for each extra Trac field, unless you un-check the 'Create new custom fields' option on the final 'Import Data' screen (see Screenshot 2 below).
  10. フィールド値のマッピング:
    • 「優先度」フィールドー マッピングを指定しない場合、インポーターは自動的にJIRAに欠損値を作成し、課題が正しく優先的に移行されることを保証します
    • Usernames — If you don't specify mapping, the importer will automatically map Trac usernames to JIRA usernames (lowercase).
      (info) Regardless of whether you specify mapping, JIRA will automatically create usernames for missing users.
    • 'Status' field — It is mandatory to map the Trac '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).
    • 「解決状況」フィールド ー マッピングを指定しない場合、インポーターは既存のものは使用せず、対応する解決状況を作成します。
    • ' 課題の最大数と失敗 ' - ご希望の場合は、インポーターが停止された後失敗した課題の最大数を指定します。失敗に関係なく、インポートを継続したい場合は、このフィールドを空白のままにします。Tracのインスタンスに課題が多くある場合、それは課題の限られた数で、最初のインポートツールを実行するには、一般的には良いアイデアです。(例えば、100)、その後、手動で設定ファイルが正しく指定されているかどうかを確認するために、インポートの問題を検査します。結果は満足のいくものであるときは、制限なしでインポートを実行することができます。
  11. インポーターは、インポートの進行に合わせて更新状況を示し、インポートが完了すると、正常完了したことを示すメッセージを表示します。ご希望の場合は、インポート・ログをダウンロードすることができます。

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

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

インポートプロセスでは、次のように Trac データが変換されます。

Trac 内

JIRA 内

インポート時の注意

プロジェクト環境

プロジェクト

各 Tracker 環境は JIRA プロジェクトとしてインポートされます。ターゲットとして既存の JIRA プロジェクトを指定できますが、指定しなくても、インポート時にインポーターによって新規プロジェクトが自動的に作成されます。

チケット タイプ

課題タイプ

Trac チケット タイプから特定の JIRA 課題タイプへのマッピングを設定できます。

チケット番号External issue IDTrac チケット番号は JIRA カスタムフィールドに取り込まれます。インポートでは JIRA 課題番号が Trac チケット番号と一致するように設定されていません。

ステータス

ステータス

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

要約

要約

 

説明

説明

 

バージョン

バージョン

(選択した場合は)Trac からバージョンがインポートされ、Un-Released および Un-Archived 状態に設定されます。

コンポーネント

コンポーネント

インポーターが JIRA に Trac コンポーネントを自動作成するか、または JIRA のコンポーネントにバグがインポートされないようにするかについて選択できます。

コメント

コメント

 

Priority

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

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

深刻度

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

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

マイルストーン

マイルストーン

JIRA はこれをカスタムフィールドとして作成します。

添付ファイル

添付ファイル

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

ソリューション

ソリューション

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

CC

ウォッチャー

 

キーワード

ラベル

 

ユーザー

ユーザー

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

  • パスワードは Trac からインポートされません。Trac のユーザーはパスワードをメールで通知してもらう必要があります。
  • 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.
  • ユーザー数に制限のあるライセンス (例: パーソナル ライセンス) で、必要なユーザー数が制限を超える場合、インポートは停止されます。作成できないユーザーの一覧を示すページが表示されます。

その他のフィールド

カスタム フィールド

Trac システムにカスタムフィールドがある場合、このフィールドを特定の JIRA カスタムフィールドにマッピングする選択が可能です。JIRA にカスタムフィールドがまだ存在していない場合、インポーターによってカスタムフィールドが自動的に作成されます。

最終更新日 2014 年 8 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.