注意
此功能屬於搶先試用,僅供特定客戶使用。
Command 版本控制整合可將您的 GitHub 存放庫連結至 Command by Asana,讓提取請求活動與您的支援單保持同步。連結儲存庫和您的個人 GitHub 帳戶後,聯絡單狀態可以根據提取請求事件更新,審查者可以接收收件匣通知,且評論可以在 GitHub 和 Command 之間同步。
網域管理員為整個組織啟用編碼代理程式整合。
設定個人使用者 GitHub 帳戶
連結 GitHub 後,請設定自動化規則,以便根據提取請求事件更新支援單狀態。在團隊空間設定中,前往整合區段,然後使用「選擇」下拉式清單為每個事件選擇支援單狀態:
例如,您可以設定已開啟的提取請求,將支援單移至「審查中」。提取請求事件發生後,請等待幾秒鐘,以便更新聯絡單狀態和已連結的提取請求資訊。
有兩種方式可以將提取請求連結至 Command 聯絡單:
tasks、task、tickets、ticket、ref、refs、references、part of、related to、contributes to、toward和towards。您可以在魔法詞後包含多個支援單 URL 或 ID,以便將提取請求連結至多個支援單。建立提取請求後,整合會將其連結至支援單,並套用已設定的狀態自動化。審查者可以在 Asana 中收到收件匣通知,且 GitHub 和已連結的支援單之間的評論會同步。
已連結的提取請求會顯示於支援單的「版本控制」區段中。您可以點選任何提取請求,以查看審查者的詳細資料、審查時間、目前的審查狀態以及提取請求的連結。狀態可能包括「已請求變更」或「待處理」。
您可以將多個提取請求連結至一個支援單,以便團隊在同一處追蹤相關的程式碼變更。
此項整合針對支援單狀態更新使用僅限推進的保護。GitHub 事件可以將支援單在其工作流程中向前推進,但當支援單已達到較後續的狀態後,就無法將其向後移動。
例如,若支援單已處於「審查中」狀態,而您連結了設定為將支援單移至「未開始」的草稿提取請求,則支援單仍處於「審查中」狀態。草稿提取請求仍會被連結,但狀態不會回退。
來自已連結提取請求的評論會顯示在相關的 Command 支援單上。當您連結個人 GitHub 帳戶時,您的 GitHub 評論將歸屬於您的 Asana 網域使用者。
同步的評論包括評論文字、提取請求標題,以及評論和提取請求的連結。來自多個已連結提取請求的評論可顯示在同一支援單上。
注意
This article has been AI-translated.
Send translation feedback.

These cookies are strictly necessary to provide you with certain features. For example, these cookies allow you to access secure areas that require registration and set your privacy preferences. Because these cookies are essential to providing services to you, they cannot be disabled. You can set your browser to block or alert you about these cookies, but it may cause some parts of the site to not work.
Third party trackers collect information used for analytics and to personalize your experience with targeted ads. Under the Virginia Consumer Data Protection Act, you have the right to opt-out of the sale of your personal data to third parties. You also have the right to opt out of targeted advertising related processing. You may exercise your right to opt out of the sale of personal data and targeted advertising by using this toggle. If you opt out, we will not be able to offer you personalized ads and we will stop sharing your personal information with third parties. For more information please see our Privacy Statement.
These cookies allow us or our third-party analytics providers to collect information and statistics on use of our services by you and other visitors. This information helps us to improve our services and products for the benefit of you and others.
These cookies, provided by our third-party advertising partners, collect information about your browsing habits, as well as your preferences for various features and services. They also provide us with auditing, research, and reporting to know when advertising content has been displayed and how successful the content has been. This information allows us and our third-party advertising providers to display relevant advertising content.
These cookies provide enhanced functionality, providing chat support, allowing you to more easily complete forms, personalizing content to your preferences, and selecting your communications preferences. If you do not enable these cookies, or choose to disable them in the future, that could impact your ability to use certain features.