It's all about the answers!

Ask a question

How to get the Chngeset assosiated workitem using java client library ?


vinitha dsouza (1431573) | asked May 09 '17, 9:25 a.m.

hello team

I have a below code to get the comments  from a ChangeSet .
    IChangeSet cs = (IChangeSet) RTCtoMKS.rtcTeamRepo
                                    .itemManager().fetchCompleteItem(
                                            ch.changeSet(),
                                            IItemManager.REFRESH, null);


Could you please tell me how do i get workitem details which is associated to a changeset ???


One answer



permanent link
Ralph Schoon (61.6k33643) | answered May 09 '17, 9:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 09 '17, 9:47 a.m.

 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 this.


The API is mostly Server API but should be pretty much the same in the client API if you use IWorkItemCommon or IWorkItemClient instead of IWorkItemServer.

Your answer


Register or to post your answer.