Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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.

0 votes

Comments

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.

https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ shows how the link API works for the client API. https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ 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
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 (http://ryehle.wordpress.com/2011/11/21/finding-the-right-service-api-for-your-process-extension/) to discover how the Eclipse client is generating the list of work items.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,934
× 1,202
× 562
× 169

Question asked: Dec 09 '13, 11:19 a.m.

Question was seen: 6,424 times

Last updated: Dec 10 '13, 11:06 a.m.

Confirmation Cancel Confirm