The count on the tab of a work item does not match list of items on that page OR The count on the tab of a work item does not match the rollup information on the Details page
search cancel

The count on the tab of a work item does not match list of items on that page OR The count on the tab of a work item does not match the rollup information on the Details page

book

Article ID: 10342

calendar_today

Updated On:

Products

Rally On-Premise

Issue/Introduction

Sometimes the count for a tab on the detail page of a Work Item does not match the list of work items on the tab or you may find that the plan estimate does not add up correctly on the tab.  

This can also occur between items list/points on a Tab and the rollup information on the work item's detail page.  (Below are screenshots of the difference between the detail page and the tab)



You may also find that when trying to update the Schedule State of a User Story, you receive this error:
"An error occurred while saving your changes. Error setting value for field [ Schedule State ]: Could not set state for the parent object directly"

Cause

This can be caused by the following scenarios:

  • Permissions Issue.
  • Item in a Closed Project (Only Subscription Administrators can see Child artifacts on a Parent that are in a closed project)
  • Test Cases in a child story
  • No default project configured in user profile
  • Project scoping

 

Resolution

This example shows a parent User Story with child User Stories but this article applies to any Parent/Child relationship. (ie: Feature and User Story)

A new feature was recently added which shows children in closed projects for a Subscription Admin (only).  If your editor does not show the missing stories, please proceed with the steps below.

The Test Cases tab may also show a different value on the tab if there are Test Cases associated with a child user story. Please see TEC1612457 for more info.


A user may execute these steps initially but if you are unable to find the missing work items, a Sub Admin should be engaged to run the same queries with their credentials.

 

  1. In this example, you can see that US218 shows 4 Children on the Children's tab but only 3 are listed on the page.


  2. Looking at the Revisions tab, you can get a list of the items that should appear in the tab.  In this example, we should see 4 children; US219 - Child 1, US220 - Child 2, US221 - Child 3 and US222 - Child 4.

     
  3. The missing item is US221 - Child 3.
     
  4. If you search the entire workspace for US221, notice that it is not listed In Open Projects, In Recycle Bin but it is listed In Closed Projects.

***In the new Rally search, the User Story will return as greyed out and the Schedule State will be closed.

 

  1. In order recover US221 - Child 3, a Subscription Admin can click on the user story and change the Project field to a Project that is open, then save the user story.