It's all about the answers!

Ask a question

CCM reportable rest API wildcard query supporting?


Makson Lee (41024241) | asked Aug 31 '13, 12:02 p.m.
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

One answer



permanent link
Rosa Naranjo (2.9k11422) | answered Sep 12 '13, 11:04 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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
Rosa Naranjo commented Sep 12 '13, 11:30 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

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)


Makson Lee commented Sep 13 '13, 12:11 a.m.

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.

Your answer


Register or to post your answer.