问题
TFS supports querying on tags, but I can't find a way to create a TFS work item query to return results that have no tags or any tag.
It is not possible to sort the Tag column in the TFS web access, so I can't even return all work items and then sort on the column to focus on those with tags and those without tags.
For example, I was hoping to see a wild card or any for the Tags value below:
回答1:
I'm about a year too late, but I just accomplished this by doing Tags, Does Not Contain, "". I know that makes no sense, but it worked. I was able to pull in a task that had no tag.
回答2:
This is not exactly helpful in the tool, but works to get the information. I select all, copy, paste into a worksheet. I can format as table and sort the results to get what I need. It is not very helpful for in tool info, but it works. Another option is to install the TFS Plugin with Excel, you can create and modify items using an existing query, sort items, add items, filter to show only items that do not have a tag, etc. https://msdn.microsoft.com/en-us/library/ms181675.aspx?f=255&MSPPError=-2147217396
回答3:
Can you do Tags=""?
I am not sure I understand the use case, but you can sugest new features on http://visualstudio.uservoice.com
来源:https://stackoverflow.com/questions/28882121/how-to-query-for-tfs-work-items-with-or-without-tags