用于验证工作项字段的SQL查询 [英] SQL Query to Validate Work Item Field
问题描述
我有一个TFS任务表单字段,我们要在其中输入自由格式的文本值,然后通过查询单独的非TFS数据库来验证该值是否存在。这可以使用存储过程来完成。我们不能使用静态选择
列表,因为有效值集可以随时更改。是否可以这样做?
您好Alanlsrael,
您使用的是哪个版本的TFS?
没有默认方式来达到您的要求,您需要自定义您自己的工作项控件:
https://docs.microsoft.com/en-us/vsts/work/process/custom-controls-process
I have a TFS Task form field in which we want to enter a free-form text value, and then validate this value by querying a separate non-TFS database to see if the value exists. This could be done using a stored procedure. We cannot use a static pick list because the set of valid values can change at any time. Is it possible to do this?
Hi Alanlsrael,
Which version of TFS are you using?
There is no default way to achieve your requirement, you need to customize your own work item control:
https://docs.microsoft.com/en-us/vsts/work/process/custom-controls-process
这篇关于用于验证工作项字段的SQL查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!