redmine-net-api icon indicating copy to clipboard operation
redmine-net-api copied to clipboard

Limit issues

Open amats6655 opened this issue 1 year ago • 1 comments

Hi! I am using Redmine Server version 3.4.10 Redmine.Net.API 4.6.7

Why do I only receive 100 issues despite explicitly setting a limit of 200? I have also tried setting PageSize = 200, but it doesn’t change anything. I am attaching screenshots for reference.

image image

amats6655 avatar Sep 04 '24 08:09 amats6655

I solved the issue by using GetPaginatedObjectsAsync. However, I think it would be a good idea to update the Wiki for the GetObjects method regarding any existing limitations on the number of items, if such limitations exist.

amats6655 avatar Sep 04 '24 13:09 amats6655

The default value for page size in Redmine is 25 with a maximum of 100. To increase the maximum number of objects per page, you have to go into your Redmine account, select Settings -> General -> and update the Objects per page options field with the desired value. For example, adding 9999 allows you to retrieve up to 9999 objects per page in a single request.

zapadi avatar Jan 05 '25 20:01 zapadi