Response contains insufficient issues

Added by Thorsten Scheckenbach 2 months ago

Hi,

if I request issues through the API (one custom field filter) total_count says 165, using the same filter on ourredmine.com/issues I get a total of 267.

The used API-Key is mine so I assume to get the same results, am I missing something?

Best,

Thorsten

Replies (1)

RE: Response contains insufficient issues - Added by Holger Just 2 months ago

By default, the API only returns open issues. To quote from REST issues:

GET /issues.[format]

Returns a paginated list of issues. By default, it returns open issues only.

To get all issues, regardless of the status, you can define a status_id filter, e.g.

GET /issues.xml?status_id=*

(1-1/1)