Reportable REST API - Using Square Brackets in a Query
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:
Thanks,
Oliver
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