Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

TFS API: After renaming the Work Item Type GUID display instead of new name

$
0
0

HI All,

I am using WorkItemType object of this package Microsoft.TeamFoundation.WorkItemTracking.Client to access work item type of project.

I am dispalying each work item of specific project by first getting project work items then using name propery of WorkItemType  object.

foreach (WorkItemType wiType in project.WorkItemTypes)
                    {
                                                 wiTypeList.Add(wiType.Name);
                    }

Scenario after renaming one custom work item type these snippet started showing the GUID of renamed work item instead its new name

Reply ASAP


Viewing all articles
Browse latest Browse all 6687


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>