Defect #7182

parameter "limit" doesn't work in Issues REST API

Added by Mark Kofman almost 11 years ago. Updated almost 11 years ago.

Status:ClosedStart date:2010-12-27
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Invalid Affected version:1.0.1

Description

When doing request

GET /issues.xml?project_id=testproject&query_id=2&offset=0&limit=10

parameter "limit" is not working. I always get 25 rows as configured in "Objects per page options".

History

#1 Updated by Felix Schäfer almost 11 years ago

I suppose you need 10 to be an available option in the global settings.

#2 Updated by Mark Kofman almost 11 years ago

I want to manipulate this with "limit" parameter and not in global settings. I need to do queries with different limits.

Felix Schäfer wrote:

I suppose you need 10 to be an available option in the global settings.

#3 Updated by Jean-Philippe Lang almost 11 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please read Rest_api#Collection-resources-and-pagination. This parameter is added in Redmine 1.1.0.

Also available in: Atom PDF