I'm struggling to use the Add method for Json Patch Document in vb.net? My goal is to create work items programmatically. I'm looking to add values to Title, Description and Priority field of a work item. Do I have to use the same code separately for all three fields?
Also, I'm new to all this development stuff so encouragement would be appreciated. Here is my mini code - just updated. Can anyone tell me if I'm doing it the right way.
Dim JPDocument As New JsonPatchDocument
With JPDocument
.Item(0).Operation = Operation.Add
.Item(0).Path = "/fields/System.Title"
.Item(0).Value = "Visual basic rocks"
End With
Thanks, Omar