How to RTC a workitem link a RRC artifact in program
![]()
Now we have the RRC artifact link and document URL is also exist. In RTC, how to a workitem link the RRC artifact ? Is there any API to reuse?
Many thanks. |
Accepted answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Nov 20 '12, 6:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Hi, this depends on what you want to do. Here is a summary with references: https://rsjazz.wordpress.com/2012/10/20/following-calm-links-using-the-java-client-or-server-api/ here the referenced links. https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ https://rsjazz.wordpress.com/2012/09/20/the-rtc-workitem-server-link-api-linking-to-work-items-and-other-elements/ Note, Wordpress appears to be blocked in China, what you can try is the approach below. At least from Hong Kong this appears to work: . In case of WordPress blogs, you can append the string ".nyud.net" to the blog URL and it should open just fine. For instance, if the main blog is located at labnol.wordpress.com, you can access a mirror image of this site from labnol.wordpress.com.nyud.net. Debo Xiong selected this answer as the correct answer
Comments Sorry I can not access any of them, is there any detail sample for this solution ? I think 'link for OSLC' is often needed since 3.x
All my detail samples are on that blog. If you can't access it, you can try to follow Lauren's suggestion.
Hi Ralph,
Please see the answer (limits on comments). How did you get at the link? I would like to be able to provide that trick to others.
Yes, I already got the RRC artifact like this :
I was actually asking how you managed to reach Wordpress 8-)
Hi Ralph,
showing 5 of 7
show 2 more comments
|
2 other answers
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Nov 20 '12, 9:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, this is kind of hidden but explained using this code to call the client api:
reference = IReferenceFactory.INSTANCE.createReferenceFromURI(new URI("https://clm.example.com:9447/qm/oslc_qm/contexts/_Lm2UIACBEeGZqMjM3RLKTw/resources/com.ibm.rqm.planning.VersionedTestCase/_dJzNgQCBEeGZqMjM3RLKTw"));
You create a URI from the URL:
new URI("https://clm.example.com:9447/qm/oslc_qm/contexts/_Lm2UIACBEeGZqMjM3RLKTw/resources/com.ibm.rqm.planning.VersionedTestCase/_dJzNgQCBEeGZqMjM3RLKTw")
reference = IReferenceFactory.INSTANCE.createReferenceFromURI(new URI("https://clm.example.com:9447/qm/oslc_qm/contexts/_Lm2UIACBEeGZqMjM3RLKTw/resources/com.ibm.rqm.planning.VersionedTestCase/_dJzNgQCBEeGZqMjM3RLKTw"));
Here some other code that does the same:
|