azure - 是否可以根据 Azure DevOps 中的其他字段选择自动填充字段?

标签 azure azure-devops azure-pipelines devops tfs-workitem

我在 Azure DevOps 云上的 Bug 工作项中添加了以下 2 个自定义字段

  1. 发布编号(选项列表)
  2. 发布环境(选项列表)

当我选择版本号时是否可以自动填充发布环境。

enter image description here

最佳答案

Is it possible to auto populate field based on other field selection in Azure DevOps?

答案是肯定的。

您可以将自定义规则添加到 Azure DevOps 上的 Bug 工作项,这使您不仅可以为字段设置默认值或将其设为必填值。规则允许您清除字段的值、将值复制到字段中以及根据不同字段值之间的依赖关系应用值

以下是我的测试自定义规则:

enter image description here

然后,为其他 ReleaseNumber 创建其他自定义规则。

可以查看文档Add a rule to a work item type (Inheritance process)了解更多详细信息。

希望这有帮助。

关于azure - 是否可以根据 Azure DevOps 中的其他字段选择自动填充字段?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59574572/

相关文章:

azure - Terraform Azure 数据工厂创建

azure-devops - 使用 C# 创建 VSTS 构建扩展的示例

git - 如何在 Visual Studio 2015 中 stash 团队事件行?

azure - 在 docker 文件内发布时出现容器错误

azure - 将测试结果发布到 Azure(VS 数据库项目、tSQLt、Azure Pipelines、Docker)

git - Azure Pipelines 找到传入 merge 的提交哈希

azure - 在 Azure 中使用来自 IOT 中心的数据进行查询时出现问题

azure - CUDA 在 Azure 数据科学虚拟机上不可用

asp.net - 在一个设置中混合使用 Azure 和 AWS

git - 克隆 Azure git 存储库报告 "could not resolve host"