How to search for a changeset by user - visual-studio-2010

Is there a way to search for or filter changesets by user?
The History view seems very inflexible.
For that matter, is there a way to filter changesets by anything?

Can you see a list of your users under Team Members in the Team Explorer tab? If so then right click on a user and select 'Show Checkin History'. This will enable you to see a full list of Changesets checked in by the selected user.
There is also a "Find Changesets" toolbar button in the Source Control Explorer tab

I don't know how to search by user, but regarding the second part of your question about existing filters : when you're performing a search (right click "Find in Source Control") or a "merge up to a specific version" option, you can select to search by changeset, and then search for a range of changeset or a range of dates.

Related

Dynamics 365 static marketing list problem

In a static marketing list, targeted at the Contact entity, I click "Manage members". Then I choose the option "Remove using advanced find". Any condition I set in the next window, does not work. Even if I don't set any conditions (so after clicking "Find" I should see all the contacts), the result is 0 contacts.
But if I choose the option "Add using advanced find", and I don't set conditions, it correctly finds all the contacts.
Is this a bug? Thank you.
When you click on Remove using Advanced Find, the advanced find is in the context of the marketing list members. You are seeing zero results because you have no members in the marketing list.
When you click Add using Advanced Find the advance find is in the context of all the contacts you have that you could possibly add as members to the marketing list.
I don't think this is a bug.

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.

Visual Studio Team Explorer: Customize the "My Work" pane

Is there a way to customize the "My Work" pane to show more groups?
For instance, I currently have In Progress Work, Suspended Work, and Available Work Items. I also have a "Code Reviews" section. How could I add a section for "Bugs ready to test" or something along those lines?
I ask this because I have work items in my queue that don't appear on this list - it seems as though Tasks do, but Bugs do not.
Thanks!
You can change the Available Work Items section to show the results of any query you want. Just create a query that shows what you're interested in, and save it in My Queries. Then in the My Work pane you can select it from the drop-down:

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.

Clean up member history view?

Is there a way in MKS Integrity to clean up the member view? We have files that when you open the Member History view just look like massive spider webs. It would be nice if we could click a revision, hit a magic button, and only see the revisions directly tied to that revision (i.e., one level out from it). Does anything like that exist in MKS? (obvious: I'm new to MKS)
From the Member History window, go to menu -> View -> Change Filter to bring up the Filter Revisions dialog.
Modify the Filter Revisions based on whatever criteria you care about--in this case, probably based On Branch.
Click OK.
The member history should now display a filtered member history.
Unfortunately, there is no functionality for a "single button filter by current branch". If your organization has a current maintenance contract with PTC, you could have an appropriate contact log a feature request for this functionality on usability grounds.
Disclaimer: I work in PTC Technical Support.
As far as I know all my colleagues have the same problem. I can only give you the hint that when you have the Member History window you can set a filter in the menu [View].
Better would be to have some right-click menu for that - but this might be something related to an external script?
If you are using dynamic Member History views you might also consider having always 2 dynamic Member History views open.
One as list that shows all.
One graphical with a filter enabled with View -> Change Filter
If you never close that graphical history view the filter will remain active
even if you restart the Integrity client.

Resources