By linking work items and other objects, you can track related work, dependencies, and changes made over time. As the following illustration shows, specific link types are used to track specific work items and actions. (– via MSDN)
While making a check-in, Visual Studio 2013 provides you a quick way to search and assign a work item via pending changes section in Team Explorer. However, if you forget to assign the work item during your check-in, things really get cumbersome as Visual Studio does not provide an easy way of assigning. For example, you usually have to open the work item and then link the changeset which involves approx. 7-8 mouse clicks. Now, you will really feel the difficulty if you have to assign work item to multiple changesets, you have to repeat the same steps again.
Hence, I decided to develop a small Visual Studio extension to perform this action of linking work item to changeset bit easier.
How to use the extension?
First, download and install the extension from VS Gallery (Supports VS 2013 Professional and above).
Once you install, you will see a new “Link To Work Item” menu item when you right click on a changeset in history window.
Clicking Link To Work Item menu, will open a new dialog with which you can search for a work item. As you can see in below screenshot, this dialog displays the search result and also the type of the work item.
You can also open work item from this dialog by right clicking on the work item and clicking ‘Open’. Finally, clicking Save button, will actually link the work item to changeset.
One feature which I think helpful, is you can select multiple changesets from history window and assign the work item to all those changesets.
To summarize the features
- Directly assign work items to changesets from history window
- Assign work item to multiple changesets
- Know the type of the work item before assigning.
- Open the work item from search results
- It also supports all default Visual Studio themes.
Below is a small demo showcasing the working of this extension.
Finally, if you like the extension, do not forget to rate and review the extension in VS Gallery. Also, do not hesitate to provide your suggestions, improvements and any issues you may encounter via github.