Hi,
I'm trying to create a TFS report using Report builder and i've encountered some difficulties.
The report should include all TFS Team Project Collection with all their Team Projects and Team Project description. All i know is that teamProject description can be found in the [dbo].[tbl_CatalogResource] table , also i've found 2 ways to get Collection>TeamProject hierarchy. But i cannot found how to join Tfs_Configuration table with the part that gets Collection->TeamProject.
here are queries that i use to get the hierarchy:
1 SELECT
coll.PartitionId
,coll.InternalScopeId
,coll.ScopeId
,coll.LocalScopeId
,coll.ParentPath
,coll.Name as [collection]
,coll.SecuringHostId
,tp.Name as [TeamProject]
FROM
tbl_GroupScope coll, tbl_GroupScope tp
where coll.scopeType= 1
and coll.Active = 'True'
and coll.SecuringHostId = tp.SecuringHostId
and tp.scopeType= 2
and tp.Active = 'True'
2 using [Tfs_Warehouse]
SELECT
coll.ProjectNodeSK
,coll.ProjectNodeGUID
,coll.ProjectNodeName as [collection]
,tp.ProjectNodeName as [TeamProject]
FROM
DimTeamProject coll, DimTeamProject tp
where coll.ProjectNodeType = 1
and coll.IsDeleted = 'False'
and tp.ProjectNodeType = 0
and tp.IsDeleted = 'False'
and coll.ParentNodeSK = tp.ParentNodeSK
Could you please help with this?
Thank you.