Project

General

Profile

Response contains insufficient issues

Added by Thorsten Scheckenbach over 7 years 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 over 7 years 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)