0

I found this:

https://msdn.microsoft.com/en-us/library/ms244668(v=vs.90).aspx

But I think that may be in regards to the database copy or something?

I just need to know if there is a way I can get a list of all the valid fields that can go into a SELECT clause in a WIQL like :

SELECT [System.Id],[System.WorkItemType] FROM WorkItem

I don't think WorkItemType is valid, when I tried outputting out it threw an exception:

Console.WriteLine("ID: {0}", workItem.Id);
Console.WriteLine("Work Item Type: {0}", workItem.WorkItemType);
Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
Sewder
  • 754
  • 3
  • 11
  • 37

1 Answers1

1

You can list all fields defined for a team project collection using the witadmin listfields command:

witadmin listfields /collection:http://xxxx:8080/tfs/DefaultCollection

Check: https://msdn.microsoft.com/en-us/library/dd236909.aspx

Or you can install TFS Power Tool to check all fields in "Work Item Field Explorer".

Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39