It's all about the answers!

Ask a question

How to get work items associated with builds and changesets through the REST API

Mike Shkolnik (9807160143) | asked Jul 16 '13, 7:42 p.m.
So far I have figured out how to get lists of Work Items, Builds, and Change Sets via the REST API. Problem is I can't figure out how to get any associations. For example, when folks create change sets, they associate them with a work item. Then the change sets are associated with builds. Thus I should be able to pull a list of builds and their associated work items (via the change sets contained in the builds). But I can't see how to get those associations via the REST API. Any ideas?

Get a list of work items with history:

Get a list of Change Sets:

Get a list of Builds:

One answer

permanent link
Lauren Hayward Schaefer (3.3k11427) | answered Jul 18 '13, 7:32 a.m.
Hi Mike,

I found this forum post that you might find helpful:  The information is a bit old, so you might want to add a comment asking Nick if anything has improved since.

Your answer

Register or to post your answer.