プル リクエストへの既定のレビュワーを追加する

このページの内容

お困りですか?

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

コミュニティに質問

Default reviewers allow you to automatically add one or more users as reviewers to pull requests in Bitbucket Data Center and Server. In addition, you can optionally specify how many of the specified default reviewers must approve a pull request prior to merging to ensure that a minimum level of review occurs. 

You may have different roles in your team that should be automatically added to pull requests depending on the nature of the pull request. This can be achieved by assigning default reviewers for a specific repository, a specific branch, using a branch pattern, or with a branch type from the branching model. For example, you might specify a release manager be assigned to all pull requests targeting release branches in Bitbucket.

リポジトリ設定で割り当てられたデフォルト レビュアーは、プル リクエストの作成時にあらかじめ入力されます。このタイミングで、各プル リクエストで一連のレビュアーを調整できます。

プロジェクトのすべてのリポジトリにデフォルトのプル リクエスト レビュアーを追加する

プル リクエストにデフォルト レビュアーを追加する方法 (プロジェクト管理権限が必要)

  1. [プロジェクト設定] > [デフォルトのレビュアー] に移動します。
  2. [デフォルトのレビュアーを追加] をクリックします。
  3. [ソース ブランチ] および [ターゲット ブランチ] フィールドに対し、[ブランチ名]、[ブランチ パターン]、[ブランチ モデル] または [任意のブランチ] のいずれかを選択します。
    1. ブランチ名 - 既存のブランチの名前を入力します。
    2. Branch pattern - use a branch permission pattern to match multiple branches.
    3. Branching model - select the branch type to restrict access to. Read more about branching models.  
    4. 任意のブランチ - 各ブランチ (ソース ブランチ) から任意のブランチ (ターゲット ブランチ) へのプル リクエストにデフォルトのレビュアーを追加します。
  4. [デフォルトのレビュアー] フィールドでレビュアーとして割り当てられるユーザーの名前を入力します。 
  5. オプション: [承認が必要] フィールドで、この条件を満たすプル リクエストをマージ前に承認する必要があるレビュアーの数を選択します。 
  6. [Create] をクリックします。


1 つのリポジトリにデフォルトのプル リクエスト レビュアーを追加する

1 つのリポジトリにデフォルトのプル リクエスト レビュアーを追加する手順 (リポジトリ管理権限が必要)

  1. [リポジトリ設定] > [デフォルトのレビュアー] に移動します。
  2. [デフォルトのレビュアーを追加] をクリックします。
  3. [ソース ブランチ] および [ターゲット ブランチ] フィールドに対し、[ブランチ名]、[ブランチ パターン]、[ブランチ モデル] または [任意のブランチ] のいずれかを選択します。
    1. ブランチ名 - 既存のブランチを名前で選択します。
    2. Branch pattern - use a branch permission pattern to match multiple branches.
    3. Branching model - select the branch type to restrict access to. Read more about branching models.  
    4. 任意のブランチ - 各ブランチ (ソース ブランチ) から任意のブランチ (ターゲット ブランチ) へのプル リクエストにデフォルトのレビュアーを追加します。
  4. [デフォルトのレビュアー] フィールドでレビュアーとして割り当てられるユーザーの名前を入力します。 
  5. オプション: [承認が必要] フィールドで、この条件を満たすプル リクエストをマージ前に承認する必要があるレビュアーの数を選択します。 
  6. [作成] をクリックします。
最終更新日: 2022 年 10 月 27 日

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

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