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

How to get list of all changeSet in particular Stream using RestApi

 Hello All,


We have multiple stream for same application based on EVN.
So i want to verify that the particular change set is present in particular stream using rest api.

0 votes



One answer

Permanent link
Your question in the post title and post body is not the same.

To answer the question: So i want to verify that the particular change set is present in particular stream using rest api.

If you have the change set item id and stream id, then you can locate the change set using the following code:
IWorkspaceManager workspaceManager = SCMPlatform.getWorkspaceManager(repo); ILocateChangeSetsSearchCriteria criteria = ILocateChangeSetsSearchCriteria.FACTORY.create(changeSetHandle, streamHandles, Collections.EMPTY_LIST, Collections.EMPTY_LIST);
List<ILocateChangeSetsSearchResult> result = workspaceManager.locateChangeSets(criteria, monitor);

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,944
× 1,700

Question asked: Mar 22 '21, 3:37 a.m.

Question was seen: 1,520 times

Last updated: Mar 22 '21, 7:34 a.m.

Confirmation Cancel Confirm