index > Team Foundation Server - Reporting > AssignedTo names in reports

AssignedTo names in reports


For importing items from our existing tracking systems into VSTS, we created local users on the server for all members defined in the previous Tracking system.
This was necessary in order to be able to re-create the items in VSTS with the "Created By" field set to the initial creator of the item (before import).
After the import we removed all local accounts (from the server and from the TFS groups) and added the domain-accounts.
This seems to work fine for querying, but not for reporting.
Whenever I filter on the AssignedTo dimension in a report, I get the full list of accounts that ever existed on this server. Even those that never imported any events.
Some accounts are listed twice (domain + local account ?).
Is it possible to remove the non valid accounts in any way ?
paso

I think the accounts you have created is still exists in the TFS that's why it is listing all the users. Just go to TFSWorkItemTracking database in the database tier and look for the table called ADObjects inside this table you will be having all the details about the existing users. From here safely delete the unwanted users....but i would say this is the bad practice to do that ...sometimes this is way to do....

I think i have answer your question.

Kathirvel

Hi Paso,

The warehouse keeps history of all users, even after they have been deleted from TFS. Like Kathirvel said, even though you deleted the local users from the server and TFS groups, these users still exist in the warehouse, and i think other parts of TFS to keep track of history.

You mention seeing all users when filtering on Assigned To. Is this on your own reports, or on reports that ship in the box, like "Work Items" ? In the "Work Items" report, only the users that have ever done anything with work items should be appearing as values in teh Assigned To parameter. This is because we crafted a query to do this. You can open up the Work Items report and see if you want to do something similar in your own reports.

If the local account and the domain account had the same name (for example, "Paso"), then "Paso" will appear twice in the person table - but one is for the local account, and the other for the domain account. Your understanding of this seems good.

I would not recommend deleting the users from the database tables.

mauli

Mauli Shah - MSFT
reply 3

You can use google to search for other answers

 

More Articles

Simple query to find work items resolved in the latest build
TFS Report Error
Reports for all current active projects
Issues in using reporting services we are using vs2005 and adding...
Shelveset Report
How do I fix the TfsOlapReportDS user problem?
Reports are present after upgrade to RTM, but they don't work
Error in Customising a existing report
Print reports without preview
Report server error
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Error Generating model for Olap Data Sou…
Issues List is not working
How can I report developer hours by week?
DateTimes become Dates in Warehouse/Repo…
"Hidden" reports in RTM ..
How to validate parameters in the rdl it…
Setting default parameter for project in…
Churn report
Reporting on Plain Text Fields in Work I…
Datagrid row style
Where is the areapath in reoprts in TFS …
TFS Report Error
Standard team project reports have empty…
Adding custom parameters in Work Item re…
Retrieving System.Description Field Data

Hot Articles

Can't find "Comments" of my ma…
Error accessing http://(server)/Reports …
Did report updating frequency change sin…
Trouble with VSTS / Sharepoint remoting …
Reporting on inforamtion in work item hi…
Restoring reports for a team project
Extra strain report (overeffor or sobree…
Deploying cube so as to make reports bas…
report designer don`t find all fields
TF53010 An unexpected exception occured …
An attempt has been made to use a data e…
Workitem trends and filters
Simple query to find work items resolved…
How to Updating report from stored proce…
DateTimes become Dates in Warehouse/Repo…

Recommend Articles

An attempt has been made to use a data e…
rsRenderingExtensionNotFound
Reports show no data - but it's there! …
Datawarehouse, how can I do?
The synchronization issue of the reporting
Reports are present after upgrade to RTM…
Requirements Test History and Overview n…
Another warehouse not updating :( - now …
How to recreate the TFSWarehouse Databas…
Cross Project Reports
Only one CUBE in Team Foundation Server
Creating a custom report -- help
Edit reports from Agile process template?
Passing new parameters to Microsoft VB.N…
Problem accessing TFSwarehouse using OLA…