GitHub Cloud を Jira に接続する
これらの手順は、GitHub Cloud または GitHub Enterprise Cloud を Jira に接続するためのものです。GitHub Enterprise Server を接続する方法を見る
You can connect GitHub to Jira using the GitHub for Atlassian app. The GitHub for Atlassian app has a unified connector that integrates and shares your GitHub development and security activities with Atlassian Teamwork Graph, enabling data use in Jira and across your Atlassian apps.
When you connect a GitHub Cloud organization to Jira, your team can link their development activity to Jira work items. This lets you track branches, commits, and pull requests in the context of your Jira work items, on your Jira board, in the releases feature, and more.
はじめる前に
To install and set up the GitHub for Atlassian app, you need:
Jira サイトのサイト管理者権限
GitHub 組織の組織所有者権限。
組織によっては、GitHub を Jira に接続する作業に複数のチーム メンバーが関与することがあります。
A Jira site admin will install the GitHub for Atlassian app.
GitHub 組織の所有者が GitHub 組織を Jira サイトに接続します。
Install the GitHub for Atlassian app
Jira で [アプリ] > [その他のアプリを探す] の順に選択します。
Search for GitHub for Atlassian, then select it from the results.
[アプリを入手] > [今すぐ入手] の順に選択します。
GitHub 組織を接続
After the GitHub for Atlassian app is installed, select Get started. If the app is already installed on your Jira site, you can find this section by selecting Apps, then Manage your apps, and then GitHub for Atlassian.
[続行] を選択します。
[GitHub Cloud] > [次へ] の順に選択します。
GitHub のユーザー名とパスワードを入力して、[サインイン] を選択します。
Jira に連携する組織を見つけて、[連携] を選択します。
To check your permissions for a GitHub organization, open your GitHub organization settings and look for your permission level next to the organization name. Organization owners can review and accept permission requests from Jira in your organization settings. More about required permissions for GitHub for Atlassian
Jira アプリを新しい GitHub 組織に追加する
Jira に連携できる組織がない場合は、新しい GitHub 組織に Jira アプリをインストールする必要があります。
上記の手順のステップ 5 から、GitHub の組織を選択します。
GitHub サイトが新しいタブで開き、GitHub アカウントで利用できるすべての組織のリストが表示されます。Jira に連携する組織を選択します。
[全リポジトリ] か [Only select repositories (一部のリポジトリのみ)] を選択して、Jira へのアクセス権を付与するリポジトリを選択します。
[インストール] を選択します。
新しい GitHub リポジトリを連携する
GitHub Organization に連携したときに [全リポジトリ] を選択した場合、Jira では作成した新しいリポジトリを含め、その組織のすべてのリポジトリにアクセスできるようになります。
[Only select repositories (一部のリポジトリのみ)] を選択した場合、作成した新しいリポジトリは自動的に追加されません。追加する方法は次のとおりです。
Jira で、[アプリ] > [アプリを管理] の順に選択します。
サイドバーの [GitHub for Jira] で [設定] を選択します。
追加するリポジトリを含む組織を見つけて 3 点メニュー (…) を選択すると、実行できるアクションが表示されます。
[設定] を選択します。
新しいタブが開き、GitHub の組織設定が表示されます。[リポジトリ アクセス] で [リポジトリを選択する] ドロップダウンを選択します。
連携するリポジトリを選択して[保存] を選択します。
If you use IP allowlists in your GitHub organization, you might have issues using GitHub for Atlassian, even if the correct IP addresses are in your IP allowlist. Here’s the workaround: How to update your GitHub IP allowlist configuration
さらにヘルプが必要ですか? 担当チームまで問題をご報告ください。
Link your development information to Jira work items
To link branches, commits, and pull requests to Jira, your team must include Jira keys in their development actions.
Find the key for the Jira work item you want to link to, for example “JRA-123”. You can find the key in several places in Jira:
• On the board, keys appear at the bottom of a card.
• On the work item’s details, keys appear in the navigation at the top of the page.Check out a new branch in your repo, using the key in the branch name. For example,
git checkout -b JRA-123-<branch-name>
.When committing changes to your branch, use the key in your commit message to link those commits to the development panel in your Jira work item. For example,
git commit -m "JRA-123 <summary of commit>"
.When you create a pull request, use the key in the pull request title.
After you push your branch, you’ll see development information in your Jira work item.
How to use the GitHub for Atlassian app
GitHub のワークフローとデプロイを Jira にリンクする
この内容はお役に立ちましたか?