REST API Filters question

Hello, Can someone help me?
I am trying to run filters that in youtrack have "{}" brackets around them.
How do I account for this in the API?
For example Filter in Youtrack of project: {Small Projects}Sprint: {September 21, 2012}
IE, I am trying this:
http://youtrack:8080/rest/issue/byproject/SmallProjects?filter=Sprint:September 21, 2012
(and have tried about 2 dozen variations) and cannot get it to work.


Thanks!
Jason
1 comment
Comment actions Permalink
Hello, Jason!

It's better to use more general REST API method:
http://URL/rest/issue/?filter=ANY_SEARCH_REQUEST
ANY_SEARCH_REQUEST should be in URLEncode form.

So your request will be like: %23ProjectID+Sprint%3A+%7BSeptember+21%2C+2012%7D
0

Please sign in to leave a comment.