Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Plain Java client - Retrieving ClearCase Versions link info

How do I retrieve ClearCase Versions link information using a Plain Java client? For built-in link types, I would use something like

linkManager.findLinksByTarget(WorkItemLinkTypes.PARENT_WORK_ITEM, IReference, IProgressMonitor).getAllLinksFromHereOn();


However, I did not see ClearCase Versions listed in WorkItemLinkTypes.


Thanks.

0 votes



One answer

Permanent link
Hi, you can use pre-defined link types in com.ibm.team.connector.ccbridge.common.ClearCaseWorkItemLink .
The ACT_WI_LINK_TYPE is for UCM activities and the VER_WI_LINK_TYPE is for base ClearCase versions.
So, it would be something like,

linkManager.findLinksByTarget(ClearCaseWorkItemLink.VER_WI_LINK_TYPE.toString(), IReference, IProgressMonitor).getAllLinksFromHereOn();

How do I retrieve ClearCase Versions link information using a Plain Java client? For built-in link types, I would use something like

linkManager.findLinksByTarget(WorkItemLinkTypes.PARENT_WORK_ITEM, IReference, IProgressMonitor).getAllLinksFromHereOn();


However, I did not see ClearCase Versions listed in WorkItemLinkTypes.


Thanks.

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

Question asked: Nov 23 '11, 7:52 a.m.

Question was seen: 6,355 times

Last updated: Nov 23 '11, 7:52 a.m.

Confirmation Cancel Confirm