Home Dashboard Directory Help
Search

Team Explorer - My Work - Available Work Items is broken in Update 1 CTP 4 by Dennis Wanke


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 771660
Opened: 11/19/2012 3:56:08 PM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

The query behind the „Available Work Items“ section under Team Explorer - My Work has been changed in Update 1 (as for CTP 4).

The difference is in how AreaPath is filtered. In VS 2012 RTM the AreaPath is filtered using the operator “UNDER” with the default project area as its right argument. This worked perfectly. In Update 1 CTP 4 the simple equality operator is used instead, hiding all the work items which areas are included as sub-areas under the default (root) project area (just ordinary hierarchical areas, like MyProject/Module1 and MyProject/Module2).
This issue makes „Available Work Items“ almost useless since work items are rarely assigned directly to the default project area.

If this change was made intentionally, there should be at least a setting to choose which option to use.

The issue is reproduced using when connecting to the same Team Foundation Server 2012 RTM instance (installed locally, with Update 1 CTP NOT applied).


The “Available Work Items” query in VS 2012 RTM (as seen by clicking on “Open Query”):

<WorkItemQuery Version="1">
<TeamProject>MyProject</TeamProject>
<Wiql>
SELECT [System.Id], [System.WorkItemType], [System.Title], [System.AssignedTo], [System.State] FROM WorkItems
WHERE [System.AssignedTo] = @me AND [System.TeamProject] = @project
AND (( [System.WorkItemType] IN GROUP 'Microsoft.BugCategory' AND [System.State] = 'Active' ) OR ( [System.WorkItemType] IN GROUP 'Microsoft.TaskCategory'
AND ( [System.State] = 'New' OR [System.State] = 'Active' ))) AND [System.AreaPath] UNDER 'MyProject'
ORDER BY [System.WorkItemType], [System.Title]
</Wiql>
</WorkItemQuery>


The same query in Update 1 CTP 4:

<WorkItemQuery Version="1">
<TeamProject>MyProject</TeamProject>
<Wiql>
SELECT [System.Id], [System.WorkItemType], [System.Title], [System.AssignedTo], [System.State] FROM WorkItems
WHERE [System.AssignedTo] = @me AND [System.TeamProject] = @project
AND (( [System.WorkItemType] IN GROUP 'Microsoft.BugCategory' AND [System.State] = 'Active' ) OR ( [System.WorkItemType] IN GROUP 'Microsoft.TaskCategory'
AND ( [System.State] = 'New' OR [System.State] = 'Active' ))) AND [System.AreaPath] = 'MyProject'
ORDER BY [System.WorkItemType], [System.Title]
</Wiql>
</WorkItemQuery>
Details
Sign in to post a comment.
Posted by ElegantCoder on 11/20/2012 at 8:41 AM
This issue has been fixed in the final release of Update 1. Good catch, thank you.
Posted by Microsoft on 11/19/2012 at 4:53 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
VsInfo.xml (restricted) 11/19/2012 -
UploadSummary-121119235611.xml (restricted) 11/19/2012 -