Wildcard search in RTC 6.X?
![]()
Hi,I want to make wildcard search in RTC I tried
https://10.0.2.79:9443/ccm/oslc/contexts/_moQdkFrdEeWQIIEAtKgWEg/workitems?oslc.where=*="foo"But I receive 400 <rdf:Description rdf:nodeID="A0">how can I make wildcard search in RTC on a specific attribute, or * attributes? Are there any examples? |
2 answers
![]()
Your best bet is full text search by using oslc.searchTerms. But as discussed in some old posts, you cannot specify which attribute contains the text you are searching.
https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20#Query_Capabilities Comments @Donald Nong, I thought that wildcard search by attribute is not allowed only in RDNG, not in all OSLC 2.0 compliant products. So only searchTerm is the nearest solution to wjhat I am searching for? I saw posts like this:
Note, the wildcard is only supported in oslc.where for the property (or identifier) of the term. For example:
If you read Paul's post carefully, he said "wildcard is only supported in oslc.where for the property (or identifier) of the term", which basically means that you can use "*" to substitute "all attributes". Essentially, this is no different to using "oslc.searchTerms" as full text search will be applied to all text-based attributes anyway.
|
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.