I want to show TFS history with the following columns:
Date and time,
Filesname,
username,
Checkin Comments.
My requirement is want to see the report weekly based on dates.
My requirement is want to see the report weekly based on dates.
There is no such out of box way to get the TFS workitem history directly. Because all the results of the query are workitems list not the details of workitems.
To get the details of the workitem history, you could use the API to output the workitem all changes history:
TFS API: TFS Work Item All Changes History
Then export this grid in format you want and save it locally.
Or, you can use Power BI Desktop to resolve this issue, you can check following blog, it should give you some help:
Querying the VSTS Work Items API directly from Power BI
Hope this helps.
Related
In TFS we have a feature called Inbox. All users of TFS can register userstories (idea’s, suggestions etc.) under this feature. Productowners validate once in the month all the userstories and link them to another feature. This is a manual action that takes a lot of time.
Is there a possibility to create a query, export the query to Excel, change the featureID and publish it again?
I already did some attempts but in most of the attempts the connection with the original feature was lost.
We are using TFS 2013.
You can use Backlog in TFS web access to drag User story from one Feature to another. It's very convenient.
Adding:
You are right that in TFS 2013, we can't drag items on Backlogs. But we can drag them in a query result in VS. I just tested with VS2015+TFS2013.5. Select "Work Items and Direct Links" in a work item query, and add clauses as the screenshot:
Then you can drag the User Story to any Feature in the Query result. After save the result, the User Story will go to the new Feature:
Yes you can. There is Add-in to Excel - Team Foundation Add-in. You can use it to load query results into excel(New List in Add-in tab), change come fields in the results (you can customize fields in query's Column options) and then publish the results.
I require to get all "Bug" entities from a TFS Team Project, for a specific date, it means that entities atributes should have values they had the date I specify. Kind of all bugs snapshot for a specific day.
Is it posible to do via a TFS query?
Thanks for your attention.
Probably you can not do this via standart tools provided by TFS portal.
But there is TFS API for you. Look at WorkItemStore class. It has many methods including GetWorkItem(Int32, DateTime) Gets the previous state of a work item that is specified by ID and date. https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.workitemtracking.client.workitemstore.aspx
Thinking in user stories, my requirement would be:
As a development department manager, I want to get the full list of iterations by team project, in order to have a full view of the milestones set for all the teams.
My initial approach is a query to the database. Which could be a good approach to build this query?
Is there another way to get it?
Querying the TfS operational store directly is unsupported and can lead to your system being unsupported. You should use the reporting tools instead.
TFS creates a data warehouse and cube where all the information is stored for reporting purpose's. You can just plug Excel into the data warehouse a query tye data that you need. If you want trend analysis you can also query the cube.
http://msdn.microsoft.com/en-us/library/bb649552.aspx
If you have team explorer installed you can also retrieve work items from queries to the operational store through the API. Any query that you can get in TFS you can load into excel.
http://msdn.microsoft.com/en-us/library/ms181675.aspx
How can I display a tile on my TFS project home page with the remaining effort across all user stories?
We're using the Scrum template in TFS 2012.
It's easy to write a query for the number of Product Backlog Items, or the number of Tasks, but I'd really like a metric showing the remaining effort for both.
Unfortunately, this is not possible in the TFS WA.
You could alternatively create an Excel report and integrate it in the SharePoint dashboard.
Can we add/modify the filter of the boards:
Work/Backlog/product backlog/board(the stories/backlogitems)
Should be able to filter the Iterations/Sprints
Work/board(tasks)
Should be able to change the Areapath filtering
Is there any way to change the default filter and/or add quick filters?
As per this post, you can't really amend the underlying
query for the task board:
How do I change the underlying query for the task board (and backlog board) on TFS Preview
Although as mentioned the tags in TFS 2012 Update 2 can help.
However we achieved something similar to what you are
asking by creating a team per product.
In the web control panel for your team project, create teams (and area paths) for
each product you are interested in.
In the control panel, for each of these teams, you can set which
iterations are associated with them. So for a particular team,
you associate only the iterations you are interested in for that
product.
You are then able to switch between teams via a drop-down at the
top-left in the TFS web interface (you will need to use Browse All
originally.)
See Multiple Teams with Microsoft Team Foundation Server 2012 & Visual Studio Scrum V2.0 for a good reference for this.
The Work Item Tagging feature in TFS 2012 Update 2 can help.
Other than that, you can write your own plugin.