使用 Azure 逻辑应用跨 Azure DevOps 项目触发 "work item created"

Triggering "work item created" across Azure DevOps projects using Azure Logic Apps

我们需要对在 Azure DevOps 中创建的 and/or 更新的工作项做一些 "post-processing"。

我们正在尝试查看 Azure 逻辑应用程序是否可以为我们执行此操作,幸运的是 Azure 逻辑应用程序包含为此设计的步骤 - "DevOps - When a work item is created"。

但是 - 我需要在 Azure DevOps 中指定 "source project":

但是我们需要在我们的项目池中触发流程。

我们唯一能看到的是为每个项目部署一个 Azure 逻辑应用程序,这对我们来说是不可取的,原因有很多——一个主要的原因是它会给我们带来维护噩梦。

那么 - 我们能否在 Azure DevOps 中创建一个触发器,当工作项 created/updated ... 跨项目时将被触发?

can we make a trigger in Azure DevOps that will be hit when a work item is created/updated ... across projects?

不幸的是,似乎没有相关的方法可以跨项目进行触发。

目前,需要 account nameproject name 参数。您可以从此 document.

获得有关 Azure Devops 连接器的更多信息

a major one is the maintenance nightmare it will create for us.

我的解决方法是您可以使用编程方式(API 或 ARM 模板)来创建 Azure 逻辑应用程序。

您也可以将您的 feedback 交给 Azure 逻辑应用程序团队。