Link To Work Item – Visual Studio extension to link changeset(s) to work item directly from VS history window

Posted by Utkarsh Shigihalli on Geeks with Blogs See other posts from Geeks with Blogs or by Utkarsh Shigihalli
Published on Sun, 10 Aug 2014 18:32:50 GMT Indexed on 2014/08/18 16:26 UTC
Read the original article Hit count: 587

Originally posted on: http://geekswithblogs.net/onlyutkarsh/archive/2014/08/11/link-to-work-item-ndash-visual-studio-extension-to-link.aspx

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.

image

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.

image

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.

image

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

  1. Directly assign work items to changesets from history window
  2. Assign work item to multiple changesets
  3. Know the type of the work item before assigning.
  4. Open the work item from search results
  5. It also supports all default Visual Studio themes.

Below is a small demo showcasing the working of this extension.

demo

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.

© Geeks with Blogs or respective owner

Related posts about Visual Studio Integrate

Related posts about extensions