Also I am not able to use, $(WorkItemType) as Task , gives me error "
error : TF42092: A Work Item could not be created for failures in build 'TestBuild_Dev_20080721.25'. Please verify that the work item type 'Task' is supported in team project 'TEST_PROJ' and it has field 'Microsoft.VSTS.Build.FoundIn' defined.
, if i use Bug it works.
So i went to command line and run this command;
"witfields view Microsoft.VSTS.Build.FoundIn /s:<ServerName>" it gives me a
Field: Microsoft.VSTS.Build.FoundIn
Name: Found In
Type: String
Reportable As: dimension
Use: TEST_PROJ(Bug, Risk),.........
But i am able to create taks in my Team explorer. How can we fix this.?