Paste screenshot into TFS 2010 Web access for bugs - tfs

Is there anyway to automatically paste screenshots into TFS 2010 Web access for bugs? I don't want to have to save the screenshots into files and then add them as an attachment. This takes a while to do this. I just want to quickly add them to the bug.

I don't think you can.
See this similar (possibly not identical) question on MSDN forums:
http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/fe8b80c9-8fbd-4d6c-bc65-80d75dd3409b/
In response to:
Now, when adding the task into TFS 2010 , I can use the cupboard to “copy/Paste” from OneNote to TFS. But then the image is stored as a link to my local machine and not stored in TFS server.
The answer was (repeatedly stated):
As I said in my previous reply, we should to add the images as attachment into Work Items. Open Work Item in VS, click Attachments tab, then click Add to browse your images, the images will store in TFS Server.
Or, DIY and write an application
TFS exposes an API that you could use to create your own tool, rather than using their web access. See this question for how to implement that particular piece (adding attachments):
Upload a file using TFS Client APIs

In Visual Studio 2010 you can go to the Attachments Tab and paste your screenshot using CTRL-V.
An attachment called 'screenshot.png' will automatically be created.

Related

Export TFS items with attachments and history and send them to some one who doesn't have access to local TFS

We are working with an offshore development team, I need to send them on a daily basis the list of available bugs and work items from local TFS. I could not find any ready component that would help with exporting the bugs details along with history comments, and attachments.
The excel sheet thing, helps if you want to send it to some one who also has access to the TFS server.
Any clue?
Thanks for the #Daniel and #Cece for your help guys.
I created a solution using .NET TFS assemblies, to help me with this task. The tool connects to TFS and allows you to choose one of your saved queries. It will then export all the bugs / work items information into a folder as HTML, and it will include the attachments and comments on bug if any. It also creates a nice index page.
In case this helps any one, here is the link to download release one excutables from codeplex
https://tfsworkitemsexporter.codeplex.com/
please also feel free to copy the code and edit as you like
You would need to use TFS API to get the attachments and history. Check the REST API:
https://XXX.visualstudio.com/DefaultCollection/_apis/wit/workitems?ids=xx&$expand=all&api-version=1.0

TFS 2013 Custom dashboard widget

I have been tasked with creating a custom planning view from TFS.
I have a reasonable amount of experience with the TFS Api but I want to try and avoid having to create and maintain a new application for this.
I have looked at SSRS for TFS but I am unable to access all of the data I need (tags etc.) so this is not an option (as it will invalidate support).
I would ideally like to create a "widget" to appear on one of the TFS dashboards but am not sure where to start. The widget would also need to allow access to the TFS api to gather the data it needs to generate.
Please can someone advise where I may look to start or an alternative approach.
You may want to take a look at http://integrate.visualstudio.com where you can find documentation for the TFS API. The REST API works for TFS 2015 and above.
While you can extend the web interface with Extensions (https://marketplace.visualstudio.com/) in Visual Studio Team Services (VSTS), this feature is not yet available in TFS on-premises as of TFS 2015 Update 1.
You can check the published feature timeline for updates, but at this time extensions for TFS are marked as "TBD".
If you're working with TFS2013 + Update2 or a higher version of TFS, it is allowed for Team Administrators to customize TFS dashboard via pinning items to the homepage without writing any code.
For example, if you would like to add a chart into the dashboard, you just need to go to the query’s Charts page and pin it to the home page. See the following image (quoted from this MSDN article)

TFS web access attachements drag and drop

I know it is possible to drag and drop files or for example mails from Outlook to Attachement tab in VS (if VS was started as Administrator Outlook should also run under this account).
But I was not able to find out if this is also possible with web Access...I tried but it was not successfull. I could drag and drop an email to a text box (text is added) but not to attachment control...is this not possible?! We are running TFS 2015 as on premise.
Greetings,
Daniel.
This doesn't appear to be implemented yet in Visual Studio Online, so I can't think it would be in any of the on premises versions of TFS.
I've just tried in Edge and you get an overlay on the image showing it's not allowed:
You could suggest this on the Visual Studio User Voice or ask Aaron Bjork who's the Program Manager for Work Item tracking.

Open multiple work items in TFS 2013 Team Web Access

In TFS 2010 Team Web Access I could open multiple work items and compare them. In TFS 2013 Team Web Access this doesn't appear to be supported. Each time you open a work item it displays in a modal window which makes it impossible to open another work item.
What's the best way to open multiple work items for comparison? Clearly the new TWA was not intended to be used this way.
The easy way is to solve this with the Browser. You can have multiple windows and just copy the URL to a new window. That way you can also use multi-monitor as well.

TFS source viewer in project portal

We're using TFS as source control provider and for the project management (documents, ...). Maybe I missed something completely, but is there a possibilty to view source code directly from the project portal? I know that source code is not stored there, but does there exist a 3rd-party viewer or something? It would be nice sometimes not to simply have a quick look at the source files without retrieving them from TFS.
Any ideas/tools/addins?
Thanks for any hints
You can try Team System Web Access.
It is standalone portal which enables you to see source, work items, reports, documents, builds etc. Like from Team explorer integrated in Visual Studio.
alt text http://msdn.microsoft.com/en-us/teamsystem/bb676728.TeamSystemWebAccess(en-us,MSDN.10).png

Resources