How can I programmatically get a workitem "integration build" field value

686 views Asked by At

I having currently implemented the isubscriber interface so to be able to detect when a workitem has changed. I notice that when a cast the event to a workitemchanged event that there is refernce to: corefields, and changedfields. However, I am unable to get the "integration build" field from workitem as it's based when the workitem is a bug type. How can I get this field value than having to reference the Microsoft.TeamFoundation.WorkItemTracking.Client.dll, and use the function GetService.

cheers

Cyberchick

1

There are 1 answers

3
Nock On

Get the WorkItem object of your working (from its ID), the use the WorkItem.Item property (see the doc here) with the reference name of the field.