OSLC Query to filter List of Test cases belongs to some owners
One answer
Hi Jyoti,
Have you looked at the https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding page?
It sounds like you are looking for an OSLC query. See https://docs.oasis-open-projects.org/oslc-op/query/v3.0/os/oslc-query.html.
You should use standard OSLC discovery (see https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/discovery.html) to find the OSLC query capabilities for test cases for the project area(s) of interest, and use suitable
oslc.where
and
oslc.select
parameters for the GET or POST on the query base URI(s)..
Best regards,
David.
Comments
Hello David,
I am having idea to fetch list of test cases based upon single owner, but not understanding the format for OSLC query ,if we have to find list of test cased based upon multiple owners.
Best Regards,
Jyoti
Please find below working query for single user-
Method:-GET/POST
URL:-
URL:-
<QMApplicationUrl>/oslc_qm/contexts/<ProjectUUID>/resources/com.ibm.rqm.planning.VersionedTestCase
Headers:-<Add OSLC Headers>
Body:-
oslc.where=dcterms:contributor=<https://<ELM Domain>:9443/jts/users/<UserId>&oslc.select=*
Use the IN operator. See https://docs.oasis-open-projects.org/oslc-op/query/v3.0/os/oslc-query.html.