TFS - display all code reviews for a changeset range - visual-studio-2010

How do I display all code review items for a changeset range in TFS? I need to display all changesets with the corresponding code review items for a period of 3 days.
I have TFS Sidekicks installed but cannot figure out how to do this.

In Visual Studio 2012 (not sure if this works for earlier versions) there is a "New Query" option in the Team menu if you are connected to a TFS. From that you can add a clause that is "Work Item Type = Code Review Response", then maybe add some date range clauses...hopefully this gets you closer to a solution. There are a lot of fields to choose from in the conditions, so maybe there'd be a way to query based on changeset numbers.

Related

Adding work item id by default in the related work items

Every time when I check-in the code in Visual Studio, I need to provide the product backlog item's work item id (task id) in the pending changes window's Related Work Items section.
If I'm working on a module for a week, on each check-in I need to provide the same work item id (at least 5 to 6 check-in in a day). It seems repeating of work.
Is there any possible way to add the work item id by default in the "Related Work Items" section in the Visual Studio settings?
I'm using Visual Studio 2017 and TFS 2012.
Sorry, it's not able to do this. It will not cached the ID you previous entered.
Instead of entering ID, you could also drag work items here to link work item to check in.
Or you could do it the other way around, open the work item and add a link to your previous changeset.
Get the changeset ID by looking at the History of one of the changed files
Open the relevant work item
Select the Links tab
Click the Add button
Select "Changeset" from the Link type dropdown
Enter the changeset ID (from step 1) into the Changeset field, and click OK
Save the work item
After this the work item will also appear in the changeset's list of associated work items.
No, that`s not possible. You may add all your changes to work item after your work will be done:
You may try to use a custom tool with TFS API like that: How to checkin source code with work item associated using TFS API.

TFS work items associated with a check-in is limited to 100?

I am currently using visual studio 2010; our TFS version is 2012. In visual studio, team explorer, pending changes, I cannot relate more than 100 work items with a check-in using the "Add Work Item by ID" option. If I have 200 work items, and try to use the "Add Work Items by ID" option by cut & paste using a comma-delimited list of work item id's, only 100 get related to the check in. If I remove the 100th work item, and add another work item that was previously related to the check-in UNsuccessfully, it is added. When I attempt to REassociate that same 100th work item I previously UNassociated, it is not associated because there are 100 work items already associated with the check-in. How can I remove this limitation as there are sometimes hundreds of work items that need to be associated with some of my check-ins?

Attaching To Work Item With Checkbox

We recently upgraded our TFS 2010 to TFS 2013. I like most of the changes, but some of them not so much. Did Microsoft really took away the feature that was in TFS 2010 where one could attach to an work item by checking a checkbox next to the work item? The way I currently do in TFS 2013 is, before checking in I run my TFS query, remember the work item number, then do 'Add By Id' or something like that, type the ID and enter. It might not seem big deal to many, but I absolutely do not like this. Is there a way to get those checkboxes next to the work item back? If not, is there a better way to do that process?
It has changed a little but I guess the closest experience is to create a personal query or add a shared query to your favourites.
In the Pending Changes Window under Related Work Items click the Queries drop down and select the relevant query.
The results will open in the main window and you can drag and drop a work item into the Related Work Items section which will link it to your changeset.
If you have VS Premium or Ultimate then you can use the My Work window in Team Explorer which will list your assigned work items in the Available Work Items section and you can just drag them into In Progress Work.

Add TFS2013 check-in policy - checkbox

Hi I am looking to add a checkbox to the TFS check-in page in Visual Studio, that a developer has to tick before being able to do a check-in.
This is to act as a reminder for them, so they read the reminder and tick the box to say they have done it.
Is this possible with custom TFS2013 policies? And are there resources/tutorials which explain how this could be done?
For this I would recommend you use a basic checkin note. They will as to put in a note they they have done whatever you want before they can checkin. This will be a hard stop. Like pero was saying in the comment, a work item is also a good solution and a better plan long term. Then you can just turn on checkin policy and force them to pick an item before checkin. This can be overridden, while checkin notes cannot.

Visual Studio 2010: Search within Team Explorer query results without modifying the query

Imagine you have a query that looks like this.
and it returns all the items whose title contains the string "fixed". However, I'd like to refilter the results further - for example, searching for another string in the title (ex. ListBox). Is it possible to do that without modifying editing the query and adding another And clause? I need something quick - like pressing for example CTRL + F and typing the string I need to find in the results of a query.
Did you check out the Search Work Items for TFS 2010 from VS Code Gallery?
This extension creates a search box in a Visual Studio 2010 toolbar and Team menu which is used to pull up a work item directly by its ID or search through work items based on text entered.
http://visualstudiogallery.msdn.microsoft.com/en-us/3f31bfff-5ecb-4e05-8356-04815851b8e7
Another great option here is the integration with Excel. Just connect to TFS through the "Team" tab, and run your query. You can then use the built-in Excel filtering and sorting tools as you need to, make changes, and re-publish them to the TFS server.
We use this functionality extensively.

Resources