While creating some new work item queries and using the State Field as part of the criteria, I have noticed that the Value list for State contains values in the dropdown list that I do not want.
I have looked through all of the Work Item Type xml definitions for State and Transition and cannot find where the incorrect values showing up in the work item query are being pulled from.
Can anyone point me to where the values located in the work item query State Field dropdown list are defined?
Allowed values in the query builder aren't scoped to a work item type - they combine together all lists that are available for that field on every work item type. Therefore for State field you should see all possible states for all work item types that belong to your project. If this is not the case, please let me know - this might be a bug.
I am facing the same issue with Work item type values. So if I am understanding you correctly, the workitem values for queries would be stored per collection and all WIT values for specific collection would be listed here, in place of Project specific WIT.
Let me know if this is considered as Bug and would be fixed in future.