I'm trying to run this query and it keeps throwing a TF51005 The query references a field that does not exist. Caused by the [Microsoft.VSTS.Common.Severity], I don't know how i'm suppose to pull the severity
select [System.Id], [System.WorkItemType],[Microsoft.VSTS.Common.Severity]
from WorkItems
I'm using a console application with this code
foreach (WorkItem workItem in queryResults)
{
Console.WriteLine("ID: {0}", workItem.Id);
Console.WriteLine("Title: {0}", workItem.Title);
Console.WriteLine("State: {0}", workItem.State);
Console.WriteLine("Reason: {0}", workItem.Reason);
}
And I realized even if i can pull the column Severity isn't listed as a workitem property. Is it not possible to pull this data?