Tasks with parents showing up under Unparented in TFS 2015 - tfs-2015

After upgrading to TFS 2015 I have a bunch of tasks showing up under Unparented in the Backlog for the current iteration. These tasks all have parents though. Going through each task it looks like the parents are all User Stories in Active or Removed states. Resolved User Stories are showing up with their Tasks just fine. How can I get Active and Resolved User Stories to show up in the backlog with their tasks?

Turns out I had to edit my process configuration and add Active, Removed and a few other states to the <States> of the <RequirementBacklog> section.
Used:
witadmin exportprocessconfig ...
to export the config, edited it in notepad the
witadmin importprocessconfig
to import the update config
See here for more

You can track unparented tasks in similar ways to other tasks, or drag
them to an existing backlog item to parent them. The Unparented card
tracks the total of remaining work defined for all unparented tasks,
however, it isn’t associated with any work item.
source: Task board from MSDN

We show the parent User Stories if they satisfy these rules:
it needs to be New, Active, Resolved or Closed. We don't show Removed User Stories
it needs to be in an area path that is used by the team.
My suspicion is that the second requirement is not true. There is also a button on the toolbar that says "Create Query" that gives you the query we use to get the data for the task board for further debugging if needed.

Related

Custom List App available to show user stories and defects for previous sprints

The custom list app is a nice app, to show a list of items that are currently in Rally.
What I would like to get out of this list as well, is UserStories and Defects from previous Iterations.
A page can be easily setup where you have an iteration filter on top, then a list app underneath. When the page is set to show closed / past iterations it should show the user stories and defects that have been previously assigned to the applied iteration (even if they have another iteration set currently).
Is such an app available? Searching a bit did provide any usefull apps,
Blocking history seems to do a little in that area, but looks only at things that had a blocker flag set:
https://github.com/RallyApps/app-catalog/blob/master/src/legacy/BlockingHistoryApp.html
The List from this app on the other hand cannot be modified, therefor I want to combine history with the Custom Grid app as provided by Rally.
Regards
What about the Iteration Scope Change app?
Source here:
https://github.com/RallyApps/app-catalog/blob/master/src/legacy/IterationScopeChangeApp.html
It's available directly in the app catalog in the product as well.

Create custom report in Rally

I would like to create a custom report in Rally which does the following:
Show all the user stories which were added once the sprint started
Show all the user stories which were moved/split into the next sprint
I wasn't able to work with the current options while trying to create a custom report. Would appreciate if someone could help me with this.
There is an app called Iteration Scope Change you can add to your dashboard or a custom page which will show a lot of these details. It definitely will show items added/removed during the sprint. Not sure on the second bullet, but it's worth trying it out and seeing if it meets your needs...

Parent status not changed if all childs status changed and vice-versa in Kanban board in TFS 2015

If I drag a parent (say Feature) in Kanban board (say from Open Status to closed Status), then the status of its childs (say User stories) is not changed.
Similarly if I drag all childs (say User Stories) in Kanban board (say from Open Status to closed Status), then the status of its parent (say Feature) is not changed.
Is this the expected behavior? Please throw some light?
This is the correct phenomenon for now. You can use some third-party extension to achieve this for a workaround.
And there has been a feature request in UserVoice, you can also vote up for it:
Automatic State Transition based on linked Work Item State
https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/2830827-automatic-state-transition-based-on-linked-work-it

Add Queries to Team Favourites in the Process Template - TFS2012

We are using the Agile Process Template of TFS2012 (slightly modified) and I want to add queries to Team Favourites in the template so that they will be automatically added on creation of a new team project. We want to see the same queries for every team project.
I have modified the template so that instead of the 3 Iterations being created (Iteration 1, Iteration 2 & Iteration 3), it just creates a single Iteration named 'Current'. I have then updated all of my queries to point to the 'Current' iteration instead of Iteration 1. Now I need to add these queries to Team Favourites so that they display on the web screens automatically.
Can this be done?
Thanks
Pretty sure that queries are relative to one team project, and one only.
Displaying queries on the Team Favorites section can be achieved by following these steps:
From the team home page, click the link for View work items
In the work item page left pane, find the query that you want to show
Right click on the query name
Select 'Add to team favorites'"
Also see the following article, the section on Shared Queries:
http://msdn.microsoft.com/en-us/library/dd286695.aspx

When creating a new TFS workitem is it possible to configure a different default Iteration value?

Like many people we utilise the tree structure of each TFS project's Iteration field to organise the work items within that project. Typically we use it to track what iteration we are working in, so most of the time everyone creating a work item needs to put the same Iteration path value in new work items.
By default when you create a new work item (bug for example) this field is set to the root value of the defined tree. Given we have a tree structure in this field its fair to say that for 99% of WIs the default is never correct.
Is there a way to configure a TFS project to default the Iteration field to a specific value when creating a new work item?
Ideally this should be a per user setting, but a TFS project wide would still be better than nothing.
It's not possible to set a default value for Iteration or Area Path (at least not inside the WITD).
Two ideas come into my mind:
Create a custom control for your work items, install it on every PC and let it change the Iteration when the WI gets loaded.
Easier way: Get the power tools and create a template for your work items. There you can preselect the Iteration. Of course every user has to create their own template.
Andrei's answer lead me to some further internet research and I have found a option that fulfills my "this should be a per user setting" side of the equation;
Instal the TFS Power tools extension.
Define a new work item template
(again following my example for a bug WI) and change the iteration
path in the template to match that users current iteration path.
Save
the template.
From that point on you can add a work item using this template (team -> work item templates) and get the Iteration path default from the template.