星期六, 3月 15, 2025

[Azure] Notifications - Pull Request

在 Azure DevOps 上設定 PR 通知,當 PR 建立時可以發信通知該 Project 相關成員

Project Setting => Notifications => New subscription

Code (Git) => A pull request is created or updated

subscription 相關設定,分別為
  • Description:修改為方便辨識名稱
  • Deliver to:選擇 Member of Project Team,預設是根據 Role
  • Filter:A specific team project:選擇特定專案
Filter criteria 為發信條件,紀錄兩種觸發方式
  • Event Type = Pull request created
  • Status changes to Completed
兩者差異在於發出訊息內容,Pull request created 內會包含 Reviewer、檔案變更、Commits 資訊,Status changes to Completed 只有 Reviewer

下圖為官方文章 - Create an email subscription 發信條件

沒有留言:

張貼留言