VSTS PowerBI Integration - Cannot see nested Iteration Data - tfs

I've retrieved data from an online VSTS instance in Power BI. However, I'm having an issue accessing "2nd level" iteration data.
For example, the VSTS iteration hierarchy is as follows. {Project}/Open/{Current Month}. I can see data up until the "Open" level, but I cannot drill down to the child iteration path.

We are deprecating the Power BI.com Visual Studio Team Services (VSTS) Content Pack on November 15, 2017, you could try the Analytics Marketplace extension, or export the work item query to Excel and then import it to PowerBI.

Related

TFS - query on all my changes on current sprint

I'm using TFS 12.0.30723.0 and I'm trying to build a query on which I can see the history of all the changes on different tasks for the current sprint for a person. I don't know why the #CurrentIteration is not accepted, so probably I'll change the sprint param in the query when needed. I want to see how many hours have been completed and on which day of the sprint for a person assigned tasks. Basically a history on how many hours and when have been completed.
What I've tried until now, looks like:
Is this possible to accomplish on TFS?
In this MSDN document, the #CurrentIteration is only could be used in the following clients:
Web portal that connects to VSTS
Web portal that connects to an on-premises TFS 2015.
Visual Studio 2015 connected to TFS 2015 or
VSTS.
You're using TFS 12.0.30723.0, this is TFS 2013. #CurrentIteration doesn't work for TFS 2013 web port. You could upgrade your TFS to TFS 2015 or higher versions.
About your request, you could add the AuthorizedDate, RemainingWork, CompleteWork field column in the query result. Then you could export your query using Excel to Sum up. Because TFS query doesn't have the calculating feature. The AuthorizedDate shows the time when the workitem is assigned to someone.

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)

Visual Studio Team Services Reporting

As I understand it there is currently no reporting available on Visual Studio Team Services however looking at the source control history it shows the changeset history. Can additional columns be added here like number of changes, etc. so we can try and use this to understand the history of changes for our source control?
An even better solution would be to get real reporting from visual studio Team Services.
You're right, there are is not a comparable reporting set of capabilities in Visual Studio Team Services that Team Foundation Server on-premises currently has. The data all exists though in the Visual Studio Team Services account and there many ways of getting to that data:
Work Item Queries
Work Item Charts
REST APIs in Visual Studio Online
Team Foundation Server SDK (making calls against Visual Studio Team Services)
I imagine for your particular scenario, you'll want to use either option #3 or option #4 for querying version control information.
Update: We are currently working on an Analytics Service for Visual Studio Team Services data that will work with multiple reporting platforms like PowerBI and many others.

TFS releases per project overview

I'm looking for an overview in Microsoft Team Foundation Server where all projects with releases/sprints are listed in one convenient overview.
Something along the lines of
Project Release Sprint StartDate EndDate
Customer1 BetaTest 1 16-10 18-10
Customer6 AccTest 2 17-10 20-10
This view/report does not exist in TFS. You could create it yourself either by using the TFS API to retrieve and display this information. Or probably via a SSRS report against the TFS Data Warehouse.

Adding notes to an iteration or release in Team Foundation Server 2010

My team and internal business customers often ask the start/end dates for sprints and the projected release date. Is there a way to attach a note to an iteration in TFS so that these dates can be published and/or queried?
Take a look at the following links which describe how to set start and end dates to your sprints and be able to track these dates. Also, check out the new Microsoft Visual Studio Scrum 1.0 process templates. It may have the ability to add notes or more information to your iterations since it has a sprint work item type. TFS 2012 has the type of functionality you mentioned as well.
Make Agile Work for You in TFS 2010
Microsoft Visual Studio Scrum 1.0

Resources