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

Get all RM artifacts that have links of any type / specific type

Is there an OSLC query to get all the RRC/DNG artifacts that have  links of any type / specific type?

0 votes


Accepted answer

Permanent link
You can also use the URL https://host:port/rm/links?private=true to get all the "links" in RM. For each item in the response, the "subject" is the source artifact, "predicate" is the link type, and "object" is the target artifact.
Oded Mozesh selected this answer as the correct answer

0 votes

Comments

Great, Thanks.
Is there possibility to refine the query to specific project?

Oded

Since the request requires a private header, it is not a published interface. I have not been able to figure out what other parameters it will take, except for "sourceOrTarget" (which limit the result to the resource specified by the parameter).


2 other answers

Permanent link
Hi,
   Check https://jazz.net/library/article/1197, section "...For queries that are based on a link type that is linked to a specific URL ...." for specific types.

Best Regards.

0 votes

Comments

Thank you very much,
The article is for version 4.0.1 and I use 5.0.1
I did not find the query I need.
(-:

The article information mostly applies to 4.0.1 and up. Users can start getting the inf based on the root services doc.


Permanent link
Hi,
The suggested API is the internal private API, which may be changed between releases. Take that into consideration when creating tools that should work for several releases.

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
× 516
× 139
× 92
× 60

Question asked: Jan 11 '15, 9:27 a.m.

Question was seen: 5,930 times

Last updated: Mar 29 '18, 6:06 a.m.

Confirmation Cancel Confirm