Problems with the REST API getting a big list of issues with the 'max' parameter
Hi,
I am trying to make use of the youtrack V2.2 REST API. I make the following request
http://172.23.21.2/youtrack/rest/project/issues/NG?filter=%20type:{bug}&max=499
I get a fairly sensible response (ie my connection etc is all good), but I only receive exactly 100 items back form the system. In this example I had specifically requested 499. I would have thought you would have returned 499 requests. It appears you have a hardwired limit of 100
Am I doing something wrong?
regards
pk
Please sign in to leave a comment.
This limitation was added to prevent DDoS attacks. But as I answered in this issue http://youtrack.jetbrains.net/issue/JT-7481 we'll use "Max Issues to Export" parameter to override this limitation.
Thanks for the response. Any ideas when?
I am reluctant to make a workaround if a fix is on the way.
regards
I've increased the priority of this issue. And as far as I can see we can integrate fix of this issue to the next bug fix release of YT 2.x.x