Importing Data from Github

The JIRA Importers plugin, which is bundled with JIRA, allows you to import data from GitHub by connecting to a live GitHub database.

GitHub インポーターは JIRA 6.1 以上との互換性があります。

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

GitHub インポートプロセスでは、GitHub Import Wizard を実行します。これによって、GitHub に接続し、データを JIRA にインポートするプロセスが案内されます。 GitHub インポーターは、GitHub のユーザー名とパスワード (入力が必要) またはPersonal Access Token を使用して GitHub に接続します。GitHub Enterprise を使用している場合は、GitHub Enterprise URL (GitHub の Enterprise Settings で確認可能) も入力する必要があります。 GitHub インポーターはパーソナルおよびパブリックリポジトリ、その他の登録済みリポジトリにアクセスしてデータをインポートできます。データのインポート元として使用するその他のリポジトリを登録しておきましょう。パーソナル、パブリック、登録済みリポジトリをすべて選択する必要はありません。GitHub インポーターでアクセス可能なすべてのリポジトリが表示されるので、インポートするものを選択できます。GitHub インスタンスで2段階認証を使用している場合、送信する6桁のアクセスコードかバックアップコードが求められます。

(info) If you have attachments in GitHub and you want to import these too, you must ensure you have attachments enabled in JIRA. Attachments are enabled by default.

GitHub Import Wizard の実行

JIRA インストールに既存のデータがある場合、開始する前に、既存の JIRA データを バックアップ してください。

  1. JIRA 管理者グローバル権限を持つユーザーとしてログインします。
  2. Choose > System. Select Import & Export > External System Import to open the Import external projects page. 
    (tick) Keyboard shortcutg + g + start typing external system import 
  3. GitHub オプションと関連付けられているインポートボタンを選択し、GitHub Import Wizard を開きます。
  4. On the GitHub Setup page, select which type of GitHub you are using. If you are using GitHub Enterprise you will also be required to provide your GitHub Enterprise URL. You also need to provide either your GitHub username and password, or a GitHub Personal Access Token. Note if you have used the GitHub import wizard before and saved a previous configuration file, you can select the configuration file here to speed up your import.

  5. [次へ] をクリックします。

    2段階認証を行う場合はこちらをクリックしてください。

    GitHub アカウントで2段階認証を行う場合、6桁のコードを入力して次へをクリックします。

     認証ページが表示され、認証に成功したことが通知されます。 

  6. 次へをクリックします。Map projects ページに、パブリックおよびプライベートリポジトリ、その他の登録済みリポジトリが表示されます。
  7. On the Map projects page, select the repositories you want to import data from, and where you want to import it to.
    (info) All GitHub projects are initially set to "Don't import this project". To import a repository, you must either select an existing compatible project to import the data to, or create a new project.

    To create a new project, select Create New from the drop-down 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. プロジェクトリード
  8. 次へをクリックします。Fetching Data ページが表示され、インポートの進行状況が更新されます。
  9. インポートが完了すると、ラベルページが表示されます。GitHub ではラベルのみを使用しますが、ラベルを課題タイプや解決状況にマッピングできるようになりました。すべてのラベルをマッピングする必要はありません。GitHub のマッピングされていないラベルに対応する JIRA のラベルを作成する場合は、"Add JIRA labels..." チェックボックスがオンになっていることを確認します。
  10. インポート開始をクリックします。

  11. Success! You have completed importing your GitHub data to JIRA. If there were any errors or warnings, these will be displayed to make you aware that you may need to check some details.

    (info) Note: 
    • インポートで問題が生じた場合 (または関心がある場合)、詳細ログのダウンロードリンクをクリックして、GitHub Import Wizard プロセスに関する詳細情報を表示します。
    • この手順を通じて使用した設定と同じ (または類似の) 設定で、別のGitHub リポジトリをインポートする必要がある場合は、設定を保存リンクをクリックして、GitHub 設定ファイルをダウンロードします。この設定ファイルは、GitHub Import Wizard の最初の手順で使用できます。
    • Before performing another import to the same project, you will want to remove the External issue ID field created in the previous import. Otherwise, the importer will associate existing imported issues with the next import, and will skip importing new issues up to the existing ID. For example, if you import 50 issues at first, they will be assigned IDs from 1 to 50. In the next imports, first 50 issues will be skipped, as their IDs will have already existed in JIRA.

お疲れ様でした。GitHub データが Jira に正常にインポートされました!ご不明な点や、問題が生じた場合は、アトラシアン サポートにご連絡ください。

 

最終更新日 2014 年 11 月 13 日

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

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