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

RM OSLC API to get all artifacts in a project area with validatedBy links

 I am able to get all artifacts in my DOORS Next project area through OSLC API.
https://<server>/rm/views?projectURL=https://<server>/rm/rm-projects/_lsaqMDM4Eeyrz66KDvPPfg&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select= However, the response does not show any of the links to/from the artifacts (validatedBy, implementedBy, etc.) though I have used oslc.select= How can I make the response to include the link details? Is it possible to show only the artifacts containing validatedBy links?

I tried using &oslc.where=oslc_rm:validatedBy=* But that did not work.

Can someone kindly help?

0 votes

Comments
Due to some reason, "*" is excluded in the question.

I also tried using &oslc.where=oslc_rm:validatedBy in [<qmurl1>,<qmurl2>] as mentioned in https://jazz.net/library/article/1197, but no luck. :(



One answer

Permanent link

If your project is opt-in (i.e. has configuration management enabled) then: no you can't find these by query to DOORS Next because the links are stored in ETM not DOORS Next - you'll have to query ETM.


For opt-out project yes you can find these using OSLC Query.

FYI OSLC Query can't query for properties with a non-empty value - for example oslc.where can't express 'artifacts with an outgoing satisfies link'. All you can do is put the Satisfies property into oslc.select and then you have to postprocess for artifacts which have a value (i.e. an outgoing link).

Another possibility is to use the DOORS Next Reportable REST API which IIRC does include incoming Validated By links. See https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI

1 vote

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
× 11,052

Question asked: Aug 28, 8:46 a.m.

Question was seen: 381 times

Last updated: Sep 01, 5:29 a.m.

Confirmation Cancel Confirm