How to mark work item as resolved

Hello,

I can view my work items as tasks in the Pending Changes window in the IDE and then check them off as resolved. How can I "check in" those changes so that the work items are actually resolved? The system thinks I have no pending changes to check in and when I requery those same work items they are still active.

TIA,

Mike Rodriguez

[393 byte] By [miker55] at [2007-12-20]
# 1
Could you clarify or provide more information on your issue? Pending checkins window shows you all source control files that were checked in by you; when checking them in, you can associate one or more work items and resolve them.
# 2

So then the only way to "check-in" the work item with a status of resolved is to associate it with a source control file? What if there is no association?

Thanks,

Mike

miker55 at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...
# 3

"Checking in" is a source control file operation, it has nothing to do with work items.

If you simply want to edit your work item (changing its state counts as edit), you can do a query that will find that item, edit the item, and save the results.

Thanks,

Alex

# 4

Hi Alex,

>> "Checking in" is a source control file operation, it has nothing to do with work items.

I can see your point on that one. However, what then is the purpose of being able to put a checkmark next to the work items in the pending changes window? When you put that checkmark, the status of the work item changes to Resolved, but that change is never saved with the actual work item. That is what I am confused about.

Thanks,

Mike

miker55 at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...
# 5

If you want to resolve a work item as being fixed (or at least updated) due to the changes in a version control check-in, you can associate or resolve it from the work items channel of the pending changes toolwindow. This state change won't happen until you actually perform the check-in (and, if you have the work item open already, you'd have to refresh it) - the checkbox says "I want to associate/resolve *this* or *these* work items with this check-in; clicking CheckIn is what actually makes it happen.

If you just want to resolve a work item directly - as in, there is no particular changeset related to the work item resolution, just edit the work item (double click it in the channel, or use a query or GoTo to bring it up outside of the pending changes window), and change the state to resolved (and update any required fields).

CRathjen-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Work Item Tracking...
# 6

Associating a work item with the checkin is supposed to add a link to that checkin to the item's links collection. Adding a link will happen when the checkin is submitted. Are you saying this is not the case and the link is not added?

Thanks,

Alex

Visual Studio Team System

Site Classified