It's all about the answers!

Ask a question

Reportable REST API - Using Square Brackets in a Query


Oliver Siebenmarck (1111) | asked Sep 12 '12, 11:42 a.m.
Hello,

I seem to be stuck while trying to build a query using the Reportable REST API. I try to find workitems from a specific iteration, which works quite well using a query like this:

https://<server:port>/jazz/rpt/repository/workitem?fields=workitem/workItem[target/name = '4.02.00']/(id|state/name|summary)

However, when trying to retrieve workitems for iterations with square brackets in their names, e.g. '4.02.00 [Release]', RTC returns the following error:

CRRED0122E: Illegal syntax in fields argument: '.
I am sure that I am missing some crucial character escaping step, but cannot seem to find any hints on this. Has anyone had a similar problem or know of good solution other than renaming the iterations?

Thanks,
 Oliver

Be the first one to answer this question!


Register or to post your answer.