VS Code での Bitbucket プル リクエスト
Atlassian for VS Code は Atlassian Labs プロジェクトとして公開されています。Atlassian Labs アプリにはユニークで便利な機能がありますが、Atlassian はお客様によるこれらのアプリの使用について責任を負いません。
アトラシアン サイドバー内の VS Code 拡張機能は、現在の Bitbucket アカウントに接続されている各リポジトリの Bitbucket プル リクエスト、パイプライン、および作業項目を示すツリー ビューを提供します。
The tree views (explorers) can be disabled/enabled from Atlassian Settings. You can also configure how often the tree views auto-refresh and the frequency of new pull request notifications. You can also manually refresh the tree views at any time by selecting the refresh icon on each tree view's title bar.
VS Code から Bitbucket のプル リクエストを表示および変更する
Select the Atlassian logo on the leftmost sidebar in VS Code. This opens the Atlassian sidebar which displays any Jira work items and Bitbucket pull requests, pipelines, and work items connected to your current Bitbucket or Jira account. These panels should be displayed by default; if not, select the title bar of each one to open and display work items, pull requests or pipelines.
既定では、[Atlassian] サイドバーにはオープンなすべてのプル リクエストが表示されます。作成したプル リクエストのみ、またはレビュー待ちのプル リクエストのみを表示するようにフィルターを変更できます。
2. Select the Details under the pull request you want to view or modify.
プル リクエストの詳細画面には、対象のプル リクエストの詳細だけでなく、プル リクエストへのコメント、承認、チェックアウト、およびマージ機能も表示されます。
Linked Pull Request Path - Select the linked pull request path in the upper-left corner to open the pull request with Bitbucket in your browser.
Approve - Select Approve in the upper-right corner to immediately approve the pull request.
Merge - Select Merge in the upper-right corner to immediately merge the pull request.
Open in Bitbucket - Select the Bitbucket logo in the upper-right corner to open the pull request with Bitbucket in your browser.
Checkout source branch - Select Checkout source branch under the Approve button to checkout the branch for the pull request on your local machine.
Build Status - Select the build status icon to get details of the latest build.
Related work items - The list of work items related to this pull request. Select the work item to open the Work Item Details screen.
Commits - The list of commits to this pull request. Select the commit to open it with Bitbucket in your browser.
Comment - Type a comment and select Create a Bitbucket Cloud pull request from VS Code
コマンド パレットから
コマンド パレットを開くには、次の [Atlassian: Open Settings] コマンドを実行します: Command+ Shift + P (Mac の場合) または Ctrl + Shift + P (PC の場合) を実行し、「プル リクエストの作成」を検索します。
コマンド パレットから、[Atlassian: Create Pull Request] コマンドを選択します。
[Create pull request] フォームの任意のフィールドを入力または更新します。
Select the Create pull request button in the lower-left corner.
Bitbucket のプル リクエスト ツリーから
Select the Atlassian logo on the leftmost navigation bar.
Select the BITBUCKET PULL REQUESTS heading on the Atlassian status bar.
Select the + to open the a new Create Pull Request form.
[Create Pull Request] フォームの任意のフィールドを入力または更新します。
Select the Create pull request button in the lower-left corner.
ソースコード エディターの任意の行を右クリックしてコンテキスト メニューを開き、[Create Pull Request] を選択することもできます。
プル リクエストが作成されると、VSCode で [Pull Request Details] 画面が開きます。通知は、リポジトリをワークスペースに接続しているすべてのユーザーの VS Code にも表示されます。
プル リクエストのコンテキスト メニュー
拡張機能は、Bitbucket のプル リクエストに関連するいくつかの便利な右クリック コンテキスト メニューを提供します。
Copy Pull Request Url to Clipboard - 簡単に共有できるように、プル リクエストの URL をクリップボードにコピーします。
プル リクエストの作成 - プル リクエストの作成画面が開かれます
チェンジセットを開く - Bitbucket のチェンジセットがブラウザで開かれます
Bitbucket で開く - Bitbucket のプル リクエストがブラウザで開かれます
プル リクエストの表示: プル リクエストの詳細画面が開かれます
この内容はお役に立ちましたか?