CCM reportable rest API wildcard query supporting?
I need to get workitems with id starting with "123", so i tried the bellowing URL, but it didn't work.
So here is the question, wrong wildcard character in my query, or the CCM reportable rest API just don't support wildcard query?
https://localhost:port/ccm/rpt/repository/workitem?fields=workitem/workItem[id="123*"]/id
So here is the question, wrong wildcard character in my query, or the CCM reportable rest API just don't support wildcard query?
https://localhost:port/ccm/rpt/repository/workitem?fields=workitem/workItem[id="123*"]/id
One answer
According to the whitepaper mentioned in this wiki page, https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#Field_selection_and_filtering it is supported. See Section 4.3 of the whitepaper document.
Comments
Since id is an integer, I can't find a way to use a wildcard with it. I was able to use the > or < operators such as in
https://clm.jkebanking.net:9445/ccm/rpt/repository/workitem?fields=workitem/workItem[id >12]/(summary|id)
Thanks for the information, i checked that document, it says the wild card character can be used for attribute selection (which attribute you want to show), not for filtering.