Jira を Bitbucket に接続する

Jira アプリケーションを Bitbucket Cloud アカウントと接続すると、チームは課題とコードをシームレスに統合できるようになります。

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

  • Surface repository activity – Jira 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 issues without having to change context, from anywhere in Bitbucket you see a Jira issue key, including commit messages, pull request comments, and deployment information.

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

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

Jira と Bitbucket Cloud アカウントを接続する

前提条件:

  • Jira と Bitbucket Cloud をリンクするには、Jira のサブスクリプションと Bitbucket アカウントが必要です。

  • Jira インスタンスにリンクできるように、Bitbucket ワークスペースを作成する必要があります。

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

ソフトウェア プロジェクトを接続する場合:

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

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

  3. Jira を Bitbucket Cloud に接続すると、ブランチ名、コミット メッセージ、またはプル リクエストの先頭に課題キーを含めることで、リポジトリをプロジェクトに接続できます。

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 and Bitbucket accounts.

ビジネス プロジェクトを接続する場合:

  1. Choose> Products.

  2. Under INTEGRATIONS, select DVCS accounts.

  3. Select Link Bitbucket Cloud account.

サービス プロジェクトを接続する場合

  1. Choose Settings > Projects.

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

  3. Select Project Settings.

  4. Scroll down to Development tools.

  5. Click Connect and select Bitbucket Cloud.

Once the link is created, choose Integrate Bitbucket to sync your Jira 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, and then Grant access for Jira to your Bitbucket account.

Bitbucket で、Jira への Bitbucket アクセスを許可します。

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

一度接続すると、Jira の DVCS アカウント設定ページで Bitbucket のリポジトリの一覧を確認できます。

Jira での未完了の接続要求の承認

Jira で接続リクエストを完了するには、Jira 管理者としてログインする必要があります。Jira と Bitbucket Cloud の接続を開始したのにプロセスを完了できない場合は、Jira 管理者に依頼して完了してもらう必要があります。Jira 管理者は次のいずれかの方法を使用できます。

  • go to the Code page and select Connect workspace to connect the relevant Bitbucket workspace; or

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

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

Jira と Bitbucket Cloud アカウントをリンクした後、Jira の [DVCS アカウント] ページから接続を管理できます。

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

操作

手順説明

スマートコミットの管理

For the account: choose Default repository settings from the Actions menu.

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

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

For a repo: select, or clear, the Smart Commits checkbox in the row for the repo, as required.

Read more about processing Jira issues using Smart Commits.

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

To manually update the list of connected repositories, choose Refresh repositories from the Actions menu.

Manually sync repo activity with Jira

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

  2. Click  in the upper-right corner of your repository list.

  3. Select Refresh repositories from the More options dropdown menu.

Bitbucket アカウントの切断

Choose Configure default repository settings from the Actions menu, then Disconnect.

 

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。