It's all about the answers!

Ask a question

The prime objective is to get list of all changes sets and stories that were released in a build

Muhammad Bhutto (111) | asked Dec 09 '13, 11:19 a.m.
retagged Dec 10 '13, 11:06 a.m. by David Lafreniere (4.8k7)
I am new to Jazz Java Client API. Actually I've requirement and I am not aware of this API classes and interfaces

The prime objective is to get list of all changes sets and stories that were released in a build. Is it possible to get

a). make a query to get Total number of change sets with respect to a specific story
b.) make a query to get Total numbers of stories with respect change set.

Any help, or idea , Can any one help regarding to this API who is aware from Jazz Java client API.

Ralph Schoon commented Dec 09 '13, 11:30 a.m. | edited Dec 09 '13, 11:30 a.m.

I can not provide you with all the API. If you have a work item, the change set is associated with a specific link type. shows how the link API works for the client API. shows API on the server.

I assume you would have to do something similar to what you can do on the build result. You will have to compare the SCM content of the build with some other SCM content, e.g. a base line/snapshot from another build. This should give you the change sets that you are interested in. Then, you will have to look at each change set and get the associated work items you are interested in. On my blog there are some examples for SCM API, some blogs that introduce into using the API, and there are other pages such as the interesting links as well as links to other blogs you could explore to find more examples.

One answer

permanent link
Lauren Hayward Schaefer (3.3k11527) | answered Dec 10 '13, 7:52 a.m.
edited Dec 10 '13, 7:53 a.m.
Another option that might help you would be to investigate how the Eclipse client generates this information. 

If you open a build result's Overview tab, the Contribution Summary section has a Work Items field that tells you how many work items were included in the build.  You can click on the link to see which work items were included in the build. 

You could use the Plug-In spy as Robin describes in her blog post ( to discover how the Eclipse client is generating the list of work items.

Your answer

Register or to post your answer.