I know there is a provision for creating user story and a child task in batch call by using TFS rest API as mentioned in https://www.visualstudio.com/en-us/docs/integrate/api/wit/samples.
But my requirement is I already have existing user story and I want to create child tasks under existing user story in c#.
Does anybody is having an idea how to do this?
Refer to this sample code:
You may use this example (just change Bug to Task): https://www.visualstudio.com/en-us/docs/integrate/api/wit/samples#create-bug
Also you have to add information about link: https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#with-a-work-item-link in your case: