How to find out the user story ID from the changeset ID?
We have a user story that has multiple tasks as children to that story. Each task is being worked by a different developer, so everyone checkins their code against the task id. I would like to retrieve the story ID against that particular check-in.
Is there a way to retrieve story ID? or any suggestions how to manage the above scenario.
thanks
Amit Sindhwani
One answer
I am not sure how you would do that in the tool, except manual, from the change set, go to the work items and then up to the parent related ones.
In the API you could do this. This is server API that does something similar: https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ and this traverses parent child on the server https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ the blog has also a lot of similar client API examples.
In the API you could do this. This is server API that does something similar: https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ and this traverses parent child on the server https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ the blog has also a lot of similar client API examples.