It's all about the answers!

Ask a question

How to access other then RTC link (WorkItemEndPoints) information in rtc server side java api


Sachin Nairy (5111220) | asked Oct 29 '13, 6:51 a.m.
Hi,
I tried to access "Affected By Defect" information in RTC java api but i can see only links related to rtc work item like parent,children, mentions, blocks etc.
Is there is any way to access customized link or rqm links in api.

Ex:
linkdescriptor  = WorkItemEndPoint.<mylinkendpoint>

Thanks & Regards
Sachin Nairy

One answer



permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Oct 29 '13, 7:09 a.m.
JAZZ DEVELOPER
Hi Sachin,
This article goes into detail on how to create and access links: https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/.

Comments
1
Ralph Schoon commented Oct 29 '13, 7:30 a.m. | edited Oct 29 '13, 7:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This post is a bit more server API specific: https://rsjazz.wordpress.com/2012/09/20/the-rtc-workitem-server-link-api-linking-to-work-items-and-other-elements/ this adds some new findings: https://rsjazz.wordpress.com/2012/10/20/following-calm-links-using-the-java-client-or-server-api/ but all in all the client and server link API's are very similar.

However, you are looking for CLM links and as explained in the Server Link API post you need to use the ILinktypeRegistry to get the link types. In addition you need to check for URI's instead of work Item links.

ILinkTypeRegistry.INSTANCE
            .getLinkType(WorkItemLinkTypes.TRACKS_WORK_ITEM)


Your answer


Register or 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.