I am required to put in a certain number of hours into TFS for my work items daily.
Currently, I have the following query which shows all the items I worked on during the day:
Is it possible to aggregate all the hours worked TODAY on all tasks. For example, if you go to the ALL CHANGES section of a specific item, you will see details on hours:
Is it possible to aggregate all the hours worked TODAY on all tasks?.
You can make a chart, and select SUM from values section.
ALL CHANGES section is the history of a single work item. There is not a default way to sum the completed work column in TFS. As an alternative, you can export the query to Excel, and sum the completed work column in Excel.
You have two options. One is simpler than the other. As Cece pointed out you can export your query to excel and do the math with excel. In visual studio you can right click on the query and say export to excel. I'm not sure off the top of my head if you can do it in the web interface been awhile since i worked with it. There is another programmatic way to do it but you need access to edit work items as well as installing 3rd party software on the server your TFS instance is installed. Although if you are using the Microsoft hosted version you might be able to install an extension to do this.
Related
I can't work out how to report how many hours per week were recorded by each team member.
For example if a task is 20 hrs, and 10 hours was done last week, and 10 this week, how can I tell how meany hours were recorded against the task each week?
I saw some time tracker plugins, they are not what I'm talking about. They require that the user start and stop time tracking kind of like upwork.
The developers already enter completed hours as they progress the tasks. So if devops remember the dates of each entry then I should be able to query how many hours were added this week, or month, or whatever per user per task.
Here is an excerpt from a discussion we had about it:
Meh, as far as Im concerned:
I make the tasks in notepad usually, so someone can add them to devops.
Someone adds them to develops.
The developers receive them in devops and record their status and times as they develop.
Devops doesnt seem to report on weekly times to us, so we ask the developers to write everything down in notepad or doc and pass us a
list or what they did with times.
We get the developers lists and use them to report to mgmt.
SO
What is the point of steps 2 and 3? May as well just pass the guys
their task in plain test list as I make it in notepad, it will be
easier for them to add their times and pass it back. For us devops is
just extra unwanted work while ever we cant work out how to report on
developer hours.
I think, you can use several ways:
Way 1. Use PowerBi reporting.
Each developer updates work hours every day.
You can use Analytics view to get task history:
Add Completed work to this view.
Connect to Analytics with Power BI Data Connector. Then you can find revisions for each tasks and calculate hour difference
Way 2. Customize your process template.
Add to your process template new work item type (like Time or Activity). Add to these work items new field (like Activity date) or use existing field Target Date. Add to these work items the Completed Work field. Add a custom work item type, Add a custom field to a work item type.
You developers add a new Time work item as child work item to their task and update the Completed Work field. You can use work item queries to see time updates.
TimeTracking in Azure Devops is pain. We have developed our custom solution to track time in DevOps. You can install extension https://marketplace.visualstudio.com/items?itemName=Sense4code.Sense4code-Manday. For more info you can visit also https://www.manday.io/doc/azure-devops-getting-started for more info.
I currently use TFS 2013 with custom work items for bugs, change request, requirements and features. I am wondering if I can migrate them to visual studio cloud 2015? is there a tool within VS or 3rd party that can do this?
If you are meaning the vsts. Possibly duplicate with this question: How to migrate work items from TFS to VS Team Services (VS Online) . There has been perfect answer from jessehouwing, suggest use one of below three ways as he suggested:
Use Excel for import/export - Will work for most work items, you loose attachments and work item links other than parent/child. The
trick is to extract from one Project Collection then copy all fields,
except the ID to an Excel sheet bound to the target project
collection. You will need to fix all Identity fields (works best when
users have the exact same display name on premise as in VSTS) and
you'll have to import once with state new and then past the current
state/reason over the just imported values and sync again. Test
Cases, Plans, Suites and Shared Steps will not be imported with their
relations in tact. The approach would be very similar to this
one.
Use the TFS Integration Tools - Will work for most work item types, though it will loose custom kanban states and tags. Test
cases, Shared steps and their relations will not be imported. This
option will allow you to import import work items and source code
with their relationships in tact.
Use a 3rd party solution - Out of the available options currently OpsHub offers the most complete solution. For test case and
source control link migration you're looking at the commercial
edition, which comes at a steep price. It still has a long list of
known issues and last time I tried it, I ran into numerous
issues which required their support to resolve them. PS: You can aslo try the tool as Dave suggested in the comment: VSTS Sync Migration Tools
I want to express dependencies with links. A is dependent on B. I would like to be able to express that A needs B by some Date. Is there a way to annotate the link with a date?
Although it is valuable to understand your dependencies, especially if you have more than 2 teams working together on the same product you can't add dates to the link.
You can however add the rate to the feature or epic that are related. At this time there is no delivery date or required by date in VSO Associated with a PBI or a bug. Customisation of work items is due in the near future on VSO so that you can add that field.
Does anyone know, if there is a possibility, to show the date of the check-out in the check-in dialog?
This would have the advantage for me, if i want to check-in all files with a known date of the checkout, e.g. all files i checked out today, than i could just sort them instead of search them and compare every single file.
It is not unusual that my list of checked out files becomes a bit longer until i am able to check them in again.
Thanks in advance for any suggestions.
I don't believe this is possible within VS. However, if you install TFS Power Tools, you should be able to perform a check-in from Windows Explorer; then (and this is by no means an exact science) you could sort by Date Created. I believe this should give you what you want.
A possibly better way to do this would be to make use of multiple workspaces. If you're working on things that can be independently checked in, then separating them using workspaces seems to make more sense; this also prevents the possibility of you booking in some changes that rely on other changes that you may have done on a different day.
I know you are on TFS2010 and possibly VS2010 but in VS 2012/Team Explorer Everywhere you have the option of excluding and Including files during check-in. YOu should probably check it out.
Check this link below:
http://msdn.microsoft.com/en-us/library/jj155786.aspx
Let's say I have a bunch of bugs (work items) that are all linked one work item. How can I right a work item query to fetch the list of all bugs linked to a specific work item?
I can see the list of linked bugs when I look at the specific work item but I'd like to be able to create a query for this. Thanks!
In TFS 2008 you can't do that with a work item query. TFS 2010 provides this support out the box, along with the ability to view that query in a shiney tree view. If you fancy having a play with Beta 1 of TFS 2010 then you can download it here
However, don't be tempted to install as a production server just yet as it is still a beta.
There may be a way to do this using a low level WIQL API, but through the standard query UI there is no way to do this.