Bitbucket is getting a new navigation

We’re rolling out these changes, so the documentation may not match your experience in the Bitbucket Cloud app. Read about the new Bitbucket navigation

Bitbucket Cloud を Jira Cloud に接続する

Read about how you and your colleagues can enjoy the seamless integration of work items and code when you connect Bitbucket Cloud with Jira Cloud.

この連携は Bitbucket Cloud の課題トラッカーには影響しません。Jira から作業項目をインポート、追跡、認識するのみです。 

Jira Cloud に Bitbucket ワークスペースを作成する

Start in Bitbucket to connect with Jira Cloud (you can also start in Jira Cloud applications). This works best if you have Jira admin permissions for the Jira Cloud instance with which you want to connect. If you want to connect Bitbucket Cloud with a Jira Data Center application, see Connect Bitbucket Cloud to Jira Data Center.

始める前に

  • Jira Cloud に接続したいワークスペースにログインするには、ワークスペースの管理者である必要があります。

Atlassian アカウントに接続されている Jira Cloud インスタンスがない場合、今すぐ Jira を試すか、統合の詳細を確認できます。

手順

  1. Select your profile avatar, then select a workspace from the Recent workspaces list or select All workspaces to display an entire list from which you can select.

  2. ワークスペースに移動したら、上部のナビゲーション バーで [設定] (歯車アイコン ) を選択します。

  3. [設定] ドロップダウン メニューから [ワークスペース設定] を選択します。

  4. Select Jira under Atlassian Integrations

  5. Choose the Jira Cloud instance you want to integrate with your Bitbucket Cloud workspace and select Connect

  6. Select Grant access to grant Jira access to your Bitbucket Cloud workspace.

  7. Select Grant access to grant Bitbucket access to Jira.

  8. Choose whether or not you would like to automatically sync and enable Smart Commits for all your repositories. Note: These options are selected by default. See Processing Jira work items with Smart Commits for more information. You can manage these settings later from the 'DVCS accounts' page in Jira

  9. OK を選択します。

Once connected, you'll see your Bitbucket repositories listed on the 'DVCS accounts' page in Jira. The DVCS accounts page is only visible if you are a Jira Admin. Head into Jira settings, then Products. Under the Integrations heading you should see DVCS accounts.

「古い」プル リクエストをハイライトする

Jira プロジェクトに接続されているリポジトリでは、通常のプル リクエストよりも長くオープンしており、しばらくアクティビティがなかったプル リクエストが「古い」とマークされ、プル リクエストの説明の下にひし形に表示されて、作成日が赤でハイライトされます。注:これは既定でオンになっており、設定できません。「古い」のコールアウトを実装して表示するには、プル リクエストが Jira プロジェクトに 8 週間接続されている必要があります。古いプル リクエストの計算方法に関する詳細は、次の情報ボックスをご参照ください。

「古い」プル リクエストの計算方法
プル リクエストが「古い」かどうかを判断する計算は、同じリポジトリ内のプル リクエストを 8 週間にわたって分析した結果に基づいています。サイクル期間は、過去 8 週間のプル リクエスト マージ データに基づいて計算され、値の 85 パーセンタイルを計算します。また、プル リクエストで最後のアクティビティが実行されてからの時間も考慮されます。

Jira で Bitbucket リポジトリの可視性を制御する

Jira に接続しているワークスペースにリポジトリがあり、それ以上現在のリポジトリを Jira サイトに接続する必要がないとします。これらのリポジトリの可視性は、別のワークスペースに移動すると制御できます。

  1. Make sure the workspace you want to move the repository to already exists, or you need to create a new workspace.

  2. Move the repository to the new or existing workspace that is not connected to the Jira site. Refer to Transfer repositories and groups to a workspace for more information.

  3. [DVCS アカウント] ページで、接続されているワークスペースの … (その他のオプション) メニューから [リポジトリの更新] を選択し、リポジトリの接続を更新します。

リンクされているワークスペース設定を管理する

Bitbucket Cloud からの操作

Jira への接続を削除する手順

  1. To remove the connection to Jira, go to your profile avatar, then select a workspace from the Recent workspaces list or select All workspaces to display an entire list from which you can select.

  2. ワークスペースに移動したら、上部のナビゲーション バーで [設定] (歯車アイコン ) を選択します。

  3. [設定] ドロップダウン メニューから [ワークスペース設定] を選択します。

  4. Select Jira under Atlassian Integrations. 

  5. Find the Jira Cloud instance you want to disconnect and select Disconnect.

Jira から

Jira と Bitbucket Cloud ワークスペースのリンク後、Jira の [DVCS アカウント] ページから、接続とリンクされているリポジトリを管理することができます。

If you're having problems with the connection, see Troubleshoot connections with Bitbucket Cloud.

操作

手順説明

スマートコミットの管理

ワークスペースに対して: (その他のオプション) メニューから [既定のリポジトリ設定を構成] を選択します。

必要に応じてスマート コミットのデフォルトの設定を変更します。変更した設定は、Bitbucket ワークスペースに追加された新しいリポジトリにのみ適用されます。

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

Read more about processing Jira work items using Smart Commits.

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

接続されたリポジトリのリストを手動で更新するには、 (その他のオプション) メニューから [リポジトリを更新] を選択します。

Bitbucket ワークスペースの切断

(その他のオプション) メニューから [既定のリポジトリ設定を構成] を選択し、[切断] を選択します。

 

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

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