Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add an image to a TFS work item; as an image, not as an attachment

Tags:

tfs

Our team is in the process of begining a project which is being managed using TFS. Several requiremens which existed only in Word documents are being migrated to TFS work items. The Word documents contain various diagrams and images which we need included in the work item, specifically under the 'Details' and 'Analysis' tabs. The problem is that images cannot be pasted into these tabs as images.

The only option to add images to the work item appears to be as an attachment.

Could someone confirm this?

Any assistance is appreciated.

like image 544
Dean Avatar asked Jun 03 '10 14:06

Dean


1 Answers

The below steps worked for our team:

1- I added a *.png file as an attachment

2- Opened that *.png file within IE from the attachments tab

NOTE: Once the image opens in IE the address should be something like the below:

http://tfs.mysite.com:8080/tfs/defaultcollection/WorkItemTracking/v2.0/AttachFileHandler.ashx?FileID=1234567&FileName=TFS-12345-QA.PNG

If the address has "c:\etc" which is locally stored then it will not work. The image has to be network accessible so other team members may see it in TFS.

3- Right click the image and select copy

4- Now within TFS under the "History" tab where you're entering your notes paste the image

5- Save the workitem and that is it.

Cheers!

like image 75
Snappa Avatar answered Oct 12 '22 15:10

Snappa