It's all about the answers!

Ask a question

Adding links to a RRC and RQM project from many RTC projects programatically


Bhawana Gupta (1031012) | asked Jan 21 '13, 10:49 a.m.
JAZZ DEVELOPER

Has anybody tried to create links fom a/more RTC project to an existing RRC and RQM project programatically.
What we want to do is create a scheduled job which searches for RTC projects craeted since its last run and add links to an existing RRC and RTC project. 

Any kind of help/guidance will be highly appreciated.

5 answers



permanent link
Joseph Salomone (25613) | answered Jan 21 '13, 7:16 p.m.
JAZZ DEVELOPER
You can use the REST API for that. There is a wiki topic that is helpful and contains example responses. The topic on the REST API is located here:

https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi

Check under Service Provider Links.


permanent link
Bas Bekker (1.4k4) | answered Jan 21 '13, 8:33 p.m.
JAZZ DEVELOPER
A good place to get started with the OSLC REST API is the workshop article at https://jazz.net/library/article/635.
It contains a good introduction, plus getting started with working code.

permanent link
Paul Slauenwhite (8.4k12) | answered Jan 22 '13, 7:08 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Jan 22 '13, 7:09 a.m.
Although it does not appear you need a RQM API for your scenario, there are two public APIs available if necessary:

RQM OSLC API
RQM Reportable API.

permanent link
David Maroshi (133) | answered May 08 '13, 7:46 p.m.
Apparently the sample code in the workshop https://jazz.net/library/article/635. Has no sample for linking RRC object.
Please provide linking example.
Thanks

permanent link
Rosa Naranjo (2.9k11723) | answered May 09 '13, 11:16 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Although there are no samples specifically addressing how to add/remove links programmatically, we did provide a sample on how to modify an attribute of a requirement. I think that this sample along with the information provided in this article can provide the how-to info for adding/removing links programmatically. See section 6 "adding/removing links" in  https://jazz.net/library/article/1197

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.