User names in TFS 2018 data warehouse SSRS reports - tfs

I am trying to build SSRS reports using TFS_Datawarehouse on TFS 2018 v1.1.
DimPerson table doesn't have all the user id's displayed as "S-1-5-21-2580684728-4277449090-3224694807-1320". Can someone help me with pulling the actual user names?
Thanks much!!

Below is a sample of DimPerson table. It is filled with SID's and normal names. All Date boxes are empty and lots of SID Instead of people:
Some of SID's in AD have normal names. But here are they presented by SID. This is make sense not all users have a display name such as some service account. You could double confirm this info in the SQL database of TFS.
If the result is no the same, you could try to reconfigured Analysis and Reporting features.

Related

Not all AD users appear in TFS

We're using TFS 2013. The problem we're facing is this:
Several Active Directory users are listed in TFS under the Control panel/Security/Users, but not all.
Where can I control which AD users will also be able to access TFS?
The displayed names are only the names that have been assigned to something and synched into the TFS db's by the AD sync service. If you enter in the full AD name of a valid user in any of the security assignments it will end up showing in the user select list after the next sync run (every hour if I remember correctly).
I.e. you can assign users that are not displayed in the list.

TFS 2013 (update 4) email alerts for team without contributor role

I'm on update 4. I want to let business users submit "tickets" in TFS for research. However, they less rights to the project and aren't part of the contributors role. In addition, TFS documention indicates that once you deploy a "team alert" that the "#ME" variable changes to actually referring to the team, and not the person.
What is the approach to take to ensure that someone with less permissions, and not part of contributor group, will always get notified when a work item they created gets changed.
NOTE: TFS 2013 UPDATE 4 -- ON PREMISE
Related item: TFS 2013 (Update 2) Team Alerts not sending emails
* this doesn't help as I can't add them as contributors, need narrowing security permission.
UPDATE 2016-02-22
In looking through the alerts section, as an admin I see I can actually search and find an individual and setup an alert for them on the workitem change. However, this is a manual process, and I would like to do this in bulk. I will work on tracing the query execution that is called when the alert is created and see if I could replicate with a sql command to insert alerts for all users. However, I'd like to avoid running a direct sql query to do this if possible, if there is some bulk processing functionality that allows an individual alert to be deployed to each person on a team without doing it manually.
Anyone aware of any extensions, scripts, or other functionality that does this?
According to the comments of this issue TFS 2013 Update 2 Team Alerts not sending emails.This issue is not fixed with TFS 2013 UPDATE4. So, if you can't add the users as contributors, then they can't receive an email.
As a workaround, you can use events of team room. Adding events lets your team know when builds finish, source code is checked in, work items are updated, and requests for code reviews occur. This can be visible to all members of the team room. Detailed steps and more info from MSDN Collaborate in a team room

How to populate data for SharePoint Team Foundation Server web part burndown, bug progress chart

We are configuring the Team Foundation Server web part to show dashboards associated with burndown, user stories, etc. I added some active but when I click on the Bug Progress link, the chart does not display any data. I click on the Burndown link to add some issues data. When I click on the Task burndown or the user story progress, I get the following message
"The error occured during an attempt to establish a connection to the external data source. The following connections failed to refresh:
TfsOlaReport"
I would like the see the data correctly populated in the chart. Any help is greatly appreciated.
You need to get your administrator to fix this.
They likely need to validate the configuration and then rebuild the data warehouse and cube.
This usually occurs because a DBA thinks that they know how to configure SQL, RS, or AS better than Microsoft. They don't, and should not have permission to any of the TFS subsystems. TFS owns and manages its subsystems itself. Don't change anything outside of the TFS Admin Console without direct direction from the Product Team.

Is it possible to get a TFS workitem snapshot for a specific date using TFS query?

I require to get all "Bug" entities from a TFS Team Project, for a specific date, it means that entities atributes should have values they had the date I specify. Kind of all bugs snapshot for a specific day.
Is it posible to do via a TFS query?
Thanks for your attention.
Probably you can not do this via standart tools provided by TFS portal.
But there is TFS API for you. Look at WorkItemStore class. It has many methods including GetWorkItem(Int32, DateTime) Gets the previous state of a work item that is specified by ID and date. https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.workitemtracking.client.workitemstore.aspx

How to make a direct query to the DB in order to get the list of Iteractions by Team

Thinking in user stories, my requirement would be:
As a development department manager, I want to get the full list of iterations by team project, in order to have a full view of the milestones set for all the teams.
My initial approach is a query to the database. Which could be a good approach to build this query?
Is there another way to get it?
Querying the TfS operational store directly is unsupported and can lead to your system being unsupported. You should use the reporting tools instead.
TFS creates a data warehouse and cube where all the information is stored for reporting purpose's. You can just plug Excel into the data warehouse a query tye data that you need. If you want trend analysis you can also query the cube.
http://msdn.microsoft.com/en-us/library/bb649552.aspx
If you have team explorer installed you can also retrieve work items from queries to the operational store through the API. Any query that you can get in TFS you can load into excel.
http://msdn.microsoft.com/en-us/library/ms181675.aspx

Resources