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

ETM OSLC API for Test Steps with a Validates Requirement link

Greetings,


I am trying to write an OSLC query that retrieves all test steps which are linked to any requirement.

So far, I can get all test steps using:

However, it is possible to do an oslc.where=oslc_qm:validatesRequirement!="" 
or something like this to only return steps with any requirement linked?

Thanks in advance.

1 vote


Accepted answer

Permanent link

No, OSLC Query can't only return results for a property that has any value so you'll have to postprocess and keep the ones with a link.


Haven't tested this but it should work: if there is a limited range of requirements, i.e. specific values, you want to find test cases with requirements links you can use the in syntax like:
oslc.where=oslc_qm:validatesRequirement in [<req1uri>,<req2uri>]
The < and > are part of the required syntax, surrounding the URL.

Dave Evans selected this answer as the correct answer

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
× 11,035
× 521
× 239
× 222
× 15

Question asked: Jun 11, 1:59 p.m.

Question was seen: 248 times

Last updated: Jun 12, 4:57 a.m.

Confirmation Cancel Confirm