I have created SSRS report on the TFS server for the Changeset ID. I want to add a column which will also mention the task numbers associated with every changeset ID as there may be different tasks for one changeset ID. Please can you suggest me some solution.
SELECT --distinct
[project_name],
ChangeSetId,
CreationDate,
Comment,
ProviderDisplayName,
DisplayName
FROM tbl_changeset as c
JOIN
tbl_IdentityMap IM
ON C.OwnerID = IM.localId
JOIN tfs_configuration.dbo.tbl_Identity u
ON IM.MasterID = u.Id
JOIN
[tbl_Version] v
ON v.VersionFrom = c.ChangeSetId
JOIN
[dbo].[vw_projects] p
ON p.DataspaceId = v.ItemDataspaceId
WHERE p.project_name = 'XXXX'
ORDER BY C.CreationDate,
C.ChangeSetID DESC