Hi, how can I add a linked / child workitem in vb.net. Below is my piece of code. - updated, I'm using the WorkItemLinks class. I also get an error on the source property that it's set to null.
JDocOpearion = New JsonPatchOperation
With JDocOpearion
.Path = "/relations/-"
.Operation = Microsoft.VisualStudio.Services.WebApi.Patch.Operation.Add
Dim link = New WorkItemLink
.Value = link.Rel = "System.LinkTypes.Hierarchy-Reverse" _
& link.Source.Url = witlink.Source.Url
End With
JSDocument.Add(JDocOpearion)