TFS Work Item Query Policy does not refresh when I change a Work Item field so that it belongs to query results.
- Define a Work Item Query Policy in tfs team project.
- Associate a Work Item that does not belong to query results during checkin in Visual Studio.
- I get an error message.
- Edit the same WorkItem (both from Visual Studio and the outside) so that now it belongs to query results.
- I espects to be allowed to perform the check-in operation but I can't, even if I refresh Visual Studio pending changes panel or add the Related WorkItem again, (both by id or from query results).
Error: The following check-in policy where not satisfied Work item not found in the results of stored query "[QUERY_NAME]" in team project "[TEAM_PROJECT_NAME]"
The only way I found to solve this issue is to close Visual Studio and re-open it.
I'm using TFS 2015 and Visual Studio 2015 update 3.