英文:
Is it possible to auto populate field based on other field selection in Azure DevOps?
问题
我已在Azure DevOps云上的Bug工作项中添加了以下两个自定义字段:
- 发布版本号(下拉列表)
- 发布环境(下拉列表)
在我选择发布版本号时,是否可以自动填充发布环境?
英文:
I have added below 2 custom fields in Bug work item on Azure DevOps cloud
- Release Number (Picklist)
- Release Environment (Picklist)
Is it possible to auto populate Release Environment when I select Release Number.
答案1
得分: 3
可以根据Azure DevOps中的其他字段选择自动填充字段吗?
答案是肯定的。
您可以在Azure DevOps的Bug工作项上添加自定义规则,这允许您不仅设置字段的默认值或使其为必填项,还允许您清除字段的值,将一个值复制到一个字段中,并根据不同字段值之间的依赖关系应用值。
以下是我的测试自定义规则:
然后,为其他ReleaseNumber创建其他自定义规则。
您可以查看文档向工作项类型添加规则(继承流程)以获取更多详细信息。
希望这有所帮助。
英文:
> Is it possible to auto populate field based on other field selection in Azure DevOps?
The answer is yes.
You could add custom rules to the Bug work item on Azure DevOps, which allowing you to go beyond setting a default value for a field or make it required. Rules allow you to clear the value of a field, copy a value into a field, and apply values based on dependencies between different fields' values.
Following is my test custom rules:
Then, create other custom rules for other ReleaseNumber.
You can check the document Add a rule to a work item type (Inheritance process) for some more details.
Hope this helps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论