Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2010 Query - Compare two fields

Tags:

tfs

Using TFS 2010. Creating a new query and in the filters added a comparison between two similar type fields i.e. Estimated Work < Remaining Work.

Estimated Work is my custom int field while Remaining Work is a build in TFS field. I can run the query which returns results, but when trying to save the query I get the following error:

TF26210: 'Remaining Work' is not a supported reference field name. Only reference field names can be used in stored queries.

So can one compare two fields?

like image 955
sHr0oMaN Avatar asked Nov 30 '11 04:11

sHr0oMaN


1 Answers

Try using the operator < [Field] instead of <

: enter image description here

like image 141
pantelif Avatar answered Oct 07 '22 16:10

pantelif