Bitbucket を Jira と統合する

Connect Jira Software applications with your Bitbucket Cloud account for your team to enjoy the seamless integration of issues and code.

Bitbucket に接続することで、次の操作を実行できます。

  • Surface repository activity – Jira Software issues automatically update to show repo branch, commit, pull request activity, and, if you have Bitbucket Pipelines enabled, your builds and deployments. For more information, see how to reference issues in your development work.

  • Get deep integration in Bitbucket – See the core details of Jira Software issues without having to change context, from anywhere in Bitbucket you see a Jira Software issue key, including commit messages, pull request comments, and deployment information.

  • Automate Jira Software workflows – Jira Software workflows sync with repo activity to update automatically as you work.

Read more about the benefits of integrating Jira Softwareapplications with Bitbucket Cloud. If you're using a Jira Software Data Center application, see Linking a Bitbucket or GitHub repository with Jira Software.

Connect Jira Software with a Bitbucket Cloud account

前提条件:

  • To link Jira Software and Bitbucket Cloud you will need to have a Jira Software subscription and a Bitbucket account.

  • You’ll need to create a Bitbucket workspace so that you can link it to your Jira Software instance.

  • Log in to Jira Software as admin (Jira Software project admin permissions are not sufficient).

If you're connecting a Jira Software project:

  1. Navigate to your project and go to Project Settings > Features to enable code in your Jira Software project.

  2. コード ページに移動して [Bitbucket に接続] を選び、接続する Bitbucket ワークスペースを選択します。

  3. Once you’ve connected Jira Software with Bitbucket Cloud, you can connect repositories to your project by including issue keys at the beginning of your branch names, commit messages, or pull requests.

You can also connect to a Bitbucket Cloud workspace by selecting Add shortcut from your project navigation and then selecting Repository. Once the repository link is created, choose Integrate Bitbucket to sync your Jira Software and Bitbucket accounts.

If you're connecting Jira Work Management:

  1. > [製品] の順に選択します。

  2. [統合] の下で、[DVCS アカウント] を選択します。

  3. [Bitbucket Cloud アカウントのリンク] をクリックします。

If you're connecting service projects:

  1. [設定] > [プロジェクト] の順に選択します。

  2. 接続先のプロジェクトを選択します。

  3. [プロジェクト設定] を選択します。

  4. [デプロイメント ツール] までスクロールします。

  5. [接続] をクリックして、Bitbucket Cloud を選択します。

Once the link is created, choose Integrate Bitbucket to sync your Jira Software and Bitbucket accounts.

Bitbucket で接続プロセスを続行

The connection process takes you to Bitbucket. Make sure you're logged in to the Bitbucket account that has the repos you want to connect with Jira Software, and then Grant access for Jira Software to your Bitbucket account.

Now, in Bitbucket, grant Bitbucket access to Jira Software.

You can enable Smart Commits for all existing repos in the account and for any repos added in future. (See Processing Jira Software issues with Smart Commits.) You can manage these settings later from the DVCS accounts settings page in Jira Software. See “Manage your linked account” below.

Once connected, you'll see your Bitbucket repos listed on the DVCS accounts settings page in Jira Software.

Approve an incomplete connection request in Jira Software

To complete a connection request in Jira Software, you must be logged in as a Jira Software admin. If you’ve started connecting Jira Software with Bitbucket Cloud and you’re unable to complete the process, you’ll need to ask a Jira Software admin to complete it for you. They can either:

  • [コード] ページに移動し、[ワークスペースを接続] を選択して関連する Bitbucket ワークスペースに接続します。または

  • select Products from the Jira Software Settings menu, and select DVCS accounts under the Integrations heading. Then select Grant access to connect Bitbucket.

リンクアカウントの設定を管理する

After you link a Bitbucket Cloud account with Jira Software, you can manage the connection and from the 'DVCS accounts' page in Jira Software.

もし接続に問題があれば、 Troubleshoot connections with Bitbucket Cloud をご覧ください。

操作

手順説明

スマートコミットの管理

アカウントに対して: アクション メニューで既定のリポジトリ設定を選択します。

ここで、必要に応じて スマート コミットのデフォルト設定を変更します。

変更した設定は、Bitbucketアカウントに追加された新しいリポジトリにのみ適用されます。

レポジトリに対して: 必要に応じて、リポジトリの行にあるスマートコミットのチェックボックスを選択、またはクリアします。

Read more about processing Jira Software issues using Smart Commits.

リポジトリのリストを更新

手動で接続されたリポジトリのリストを更新するには、リポジトリの更新 (Refresh repositories)を選択します。

Manually sync repo activity with Jira Software

  1. To manually refresh your repositories in Jira Software, choose Jira Software Settings from the left navigation menu > Products from the Jira SoftwareSettings menu > DVCS accounts under the Integrations heading.

  2. リポジトリ リストの右上にある をクリックします。

  3. [その他のオプション] ドロップダウン メニューから [リポジトリの更新] を選択します。

Bitbucket アカウントの切断

アクション メニューで [既定のリポジトリ設定を構成 (Configure default repository settings)] を選択し、切断してください。

 

その他のヘルプ