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

oslc.where use wildcards in DOORS Next Generation 5.0.2

 Hi,
I want to use wildcards in oslc.where clause.

I can query for a specific identifier:
queryParams.setPrefix("dcterms=<http://purl.org/dc/terms/>");
queryParams.setWhere("dcterms:identifier=\"58\"");

and I can query for a specific title:

queryParams.setPrefix("dcterms=<http://purl.org/dc/terms/>");
queryParams.setWhere("dcterms:title=\"Weather\""); //Returns one result

but I want to be able to find all the items that have "Weather" in their
description.  I was hoping for something like:

queryParams.setWhere("dcterms:title=\"*Weather*\"");

but it doesn't return any results.

Is there any work-around or provision on how to use wildcards in oslc.where queries?

0 votes


Accepted answer

Permanent link
Hi,
    Wildcards are not supported in title or description ( those should match the entire string ). One possibility to use wildcard is on the requirements text using the oslc.searchTerms option , like :
&oslc.searchTerms="Req*"

Hope it helps.
Nikhil Pachpande 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
× 12,019

Question asked: Nov 21 '15, 8:23 a.m.

Question was seen: 2,141 times

Last updated: Nov 30 '15, 11:52 a.m.

Confirmation Cancel Confirm