So the tree view in TFS shows items all over the place, clicking one by one is plain stupid monkey work, There must be a way to view all the items in a tree in one flat view, this is what the most of simple web forums have at least, surely there must be something in TFS to enable one to view all the items of a tree in a flat manner, by that I mean if we have this in a tree
A Release
B Feature
F Task
C Feature
D Task
E Task
instead of clicking on each item and going forwards and backwards to read the whole thing we should get a single view as such :
A Release
B Feature
F Task
C Feature
D Task
E Task
I don't know what the search term is for this (if any) under TFS
There isn't any way to do this in "Backlogs", you can submit a feature request on VSTS User Voice.
However, as an alternative way, you can do this from "Queries". Refer to following steps for details:
Create a query to get all the work items you want and save the query. (You can select the flat list or tree list view if you want).
Open the context menu of the new created query and select "Run Query". Then you will get a UI like following:
The upper part of the UI shows all the work items with the view mode you set and the left area show the detailed information about the work item you select. When you click the work items, the detailed information will display.
Related
When a business user enters a new work item (in TFS 2015, using the Agile template), it appears the ticket is inserted into the list of tickets based on where the user has selected (see screenshot).
We have a bi-weekly meeting to prioritize tickets and it appears stakeholder users are able to create items at the top of the list. If I go to the list to get the next item to work on I very well might select an unvetted item instead of one that has been prioritized by the council.
Is there a way to default the stack rank (ideally bottom or middle or something)?
I've tried to create a field rule in the work item type definition so that when a new item is created the field Microsoft.VSTS.Common.StackRank has a static value COPY into it of 2,000,000,000. The stack rank was defaulted but the order was still first.
I know I could update the workflow to accommodate (e.g. new state "New (unvetted)", new custom field IsVetted, etc.) but wanted to see if there was a automated way before handling manually.
Sorry this is impossible, as you have said the sequence of items on the backlog page is determined according to where you have added the items or moved the items on the page. As you drag and drop items within the backlog list, a background process updates this field.
Stack Rank
A number, usually assigned by a background process, used to track the
list order of items on a backlog or board in the web portal.
Reference name=Microsoft.VSTS.Common.StackRank, Data type=Double
You can't sort your backlog on a column. If you want to view a sorted listed, click Create query, save and open the query, and then sort the query results. To learn more about queries, see Use the query editor to list and manage queries.
Take a look at below related threads:
Backlog priority or stack rank order
Move items into priority order
I have a PBI to collect all show-stopper bugs and display them on the SCRUM board.
(actually, I have one parent PBI like that, and 3 child PBIs - one per each team).
I want to display the bugs count in the home page of my project, either as 3 different squares, or as a pivot table by PBI.
For example, I created "work items with direct links" query, which returns the PBI and 2 bugs under it. but when i pin this query to my home page, it displays the count "3" (1 PBI + 2 bugs). I want to display only the children count.
How can I do it?
Thanks,
Annat.
Pinning a query to the home page is just going to show the number of Work Items returned by the query regardless of hierarchy.
Work Item Charting (for your pivot table) only works with flat queries (rather than direct link or tree queries) so that isn't going to work in this scenario.
Could you use another way to indicate the showstoppers such as AreaPath or Tags and that way you could return the information in a flat query?
I prefer not to have nested PBIs on the backlog anyway as it means the child items can be prioritised independently.
I would like create a Flat list of work items query in TFS in which the results contain all of the specified PBI and Bug cases and any Task cases that have no parent.
It's that Task with no parent part that has me perplexed. I cannot see a way that I can do what seems so obvious such as (Parent Link Count = 0) because that attribute is not exposed to me though, strangely, some other link type counts are.
Any ideas?
You need to change the type of your query to the Direct Links query, then choose the option to pull back all work items without any matching links. The results will still be a flat list.
In my Company we are using Team Foundation Server 2012 and Agile as Project Template. We are still learning how the Board and the Backlog show Tasks within User Stories and I realized that "Orphan" Tasks are not shown in these cases...
I made an query to solve the problem about the "Orphan" tasks but I realized that the same issue is happening when a User Story and a Task have, for some reason (maybe someone assign it to a User Story after creating it), a different iteration path... the tasks are not shown in the Backlog or Board.
Is there an automatic way to make tasks having the same iteration path as their parents? How can I make a query to show tasks whose User Stories have a different iteration path as them?
Thanks a lot in advance!
Well. After more researching I have realized about two thing:
- It is not needed to do this in order to show the Tasks in the Board/Backlog because, if the User Story contains tasks that are defined in different iterations, the User Story will be shown in the different iterations, repeated, but only with the tasks belonging to the iteration.
- If someone still wants to create the query, maybe to reunite User Stories, the solution is creating a new Query of the type Work Items and Direct Links and change the following parameters:
* In Filters for top level work item Add a new clause And Iteration Path = IterationA
* In Filters for linked work items Add a new clause And Iteration Path <> IterationA
* In Filter options Types of links select Return selected link types and check Child and Parent.
Unfortunately there is no way, so far I know, to do it automatically for all iterations so you have to do a Query of this type for all iterations.
We are using the agile template, and have user story's with linked tasks.
Some user stories assigned to me and some tasks, for users stories, are assigned to me.
What I'm trying to get is all work items that are assigned to me, or work items where a linked work item is assigned to me in a tree of work items view (not flat list)
So right now I have:
any work item in this project and iteration (not closed\resolved, and not a bug)
AND
any linked work items assigned to me (not closed\resolved)
But this returns user stories, where I don't have tasks assigned to me. But if I change the first part of the query to be filter out items not assigned to me the 'Tree of Work Items' is not show for where I only have tasks.
The output I would like would exclude user stories where I don't have tasks, and include users stories where I do... something like this:
User Story 1 --> team member A
---->Task 1a --> me
User Story 2 --> me
---> Task 2a --> team member B
Any ideas what the query would be?
Thanks
What you want is not possible in one single query. The filter you do on the parent and on the child will be combined to an "AND" filter operation.
To get only the parents for which you have tasks, choose the query type "Work Items and Direct Links" and in the child section add a filter on "assigned to = #me" and select the option "Only return items that have specified links".
Seems like that has been improved as of TFS 2012.
You can have a Tree of Work Items, where your linked work items are filtered according to your preferences (assigned to me, not closed, iteration etc.)
Then make sure to add "Filter options" -> Match lined work items first -> Parent/Child
That should filter any parents, not having sub tasks assigned to you and other filters you applied.