how to show tasks in TFS delivery plans - tfs

we have a TFS with many tasks and want to see them on the TFS delivery plan, how can I do it?
in the delivery plan I can only see stories and bugs, but I'm more interested on tasks..

Generally, only the selected backlog level work items can be displayed in delivery plans. But Task is not in any of the backlog level categories (Epics-Microsoft.EpicCategory, Features-Microsoft.FeatureCategory, Stories-Microsoft.RequirementCategory).
So, to display Task in Delivery plans, you can try to add Task to Microsoft.RequirementCategory. You need to edit the Task WIT definition to support planning tools. See Add a WIT to track it like a requirement for details.
But it will conflict with the original/default behaviour of Task work item. So, if you insist on display Task in delevery plans you can try add a new type work item based on the existing Task wit, then custom it as needed.

Related

TFS alert when a related task is closed

I'm using TFS for task tracking in a team of ~40 people. We create Backlog Items with child Tasks. I'd like to implement some kind of automatic notifications or alerts when Tasks under a Backlog Item is closed.
For example, we have a Backlog Item like "Build a Cart", with a few child tasks:
Server - Build a Cart (Assigned to Dev1)
Client - Build a Cart (Assigned to Dev2)
Content - Add content to the Cart (Assigned to Des1)
QA - Test the Cart (Assigned to QA1)
When the first task "Server - Build a Cart" is closed, I'd like to make sure all other members (Dev2, Des1, and QA1) are alerted somehow. Some people are in different geographic locations, so automating the notification is what I'm looking for.
Is there some kind of plugin or way I can configure things to automate more alerts or notifications?
I'm afraid that it cannot be achieved by the default TFS notification system since you need to filter the parent work items. And there isn't any plugin for this as far as I know. I would recommend you to create a service hook event for work item changed event and then create a web service to listen the event and send out email notifications base on your request.

How can I show Product Backlog Items on TFS board grouped by people?

In TFS 2015 we are using the Scrum process template. When I 'group by people' only the tasks are showing up on the board, but not the PBI's (product backlog items) or bugs.
How can I get the PBI's and Bugs that are assigned to my team to show up when I group the backlog by people? Is this possible?
You can't see User Story if you use "Group by: People".
But you can see bugs, you need to configure it according the picture:
Another option: you can install Query based boards extension, This extension allows you to visualize the result of work item queries on a board. The order by clauses of the query are respected on the board.
After installing the extension, navigate to the Work hub, and select Queries. When opening a query, a new tab called Board is available to visualize the results on a board.
Bugs could be added by default, the detail steps please follow the
official tutorial-- Show bugs on backlogs and boards
However, for PBIs, you need to do it by customizing your process
or team project, based on the process model you use. For details,
please refer this link: Add other work item types to your backlogs
or boards

Make linked test cases visible in current sprint board in TFS 2017

On the backlog board in a scrum project in TFS 2017, I can see the number of test cases linked to a backlog item. I can also see the status of the tests in some instances. I would like to see something similar in my current sprint. How can I get visibility to test cases linked to a product backlog item in the current sprint without clicking into a backlog item?
Show the tests/test cases under Sprint Board is not supported. There is a user voice here submitted to request for this feature, you can go and vote it up to achieve it in future.
As a workaround for now, you can create a task and link it to test case.
You can reference this similar thread: Visual Studio Team Services - Assigned Test Cases on Sprint Board

Notify When TFS User Story Changes

At my daily work, I have to follow multiple Team foundation tasks or user stories. Sometimes, I create a task to other teams and they change status of this task to verified level unexpectedly. But after I control this task and realized that its not working correctly.
NOTE: I tried to use custom alerts but could not find anything about related work items.
NOTE2 : TFS 2015.
Is there any way to be notify when someone changes your task's status to verified before telling me?
Yes, you can create a work item alert (if email is enabled on the server) and specify a query where you can set "Created by" == #me as query to get email.
Go to notifications or alerts (depending on your TFS version) and create a new work item based alert. Then create a work item query that lists the work items you want to be notified about.
In TFS 2017 and VSTS you can also "follow" a work item:

How to add same set of tasks (as child) to multiple user stories in tfs?

Suppose i have some set of tasks say:-
Analysing Code.
Coding.
Exception Handling.
View Integration
Deployment.
Bug Fixing.
How do i bulk create the same set of tasks under multiple user stories as its respective child objects?
Eg:- say i have
45678,45679,45670,45671,45672 as my user stories.
If i manually create the 6 listed tasks to the 1st user story, then how can i bulk create the same set of tasks to all other user stories as child objects?
There is no automation out of the box for this.
You can use excel to copy/paste the tasks as children of PBI's. There are also some third party tools out there that can do what you want. I built the TFS Event Handler in 2008 for an organization but have not had much call for it since.
http://nakedalm.com/tfs-event-handler-for-team-foundation-server-2010/
The reason I don't get much call for this sort of thing is that if you need it, then you are doing something wrong. Your list above is something that would make a lot more sense on a definition of done than a task list. If this was the DOD then the tasks should be the development teams plan to get them done...

Resources