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?
|
Accepted answer
![]()
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
|
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.