Project

General

Profile

Actions

Feature #10828

open

Request multiple distinct values including issue id, parent_id, root_id

Added by Jeffrey Clark almost 12 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Patch is intended to reduce the need for multiple issues requests and provide granular issue tree lookups (parent_id / root_id)

For example, instead of three requests:

/issues.xml?tracker_id=2
/issues.xml?tracker_id=6
/issues.xml?tracker_id=7

You can do:

/issues.xml?tracker_id=2|6|7

Changes

Query Model:
  • Extends integer equality, converts array of values to 'IN' sql.
Issues Controller:
  • Support 'id', 'root_id', 'parent_id' params.

Files

restapi-issues-id-param.patch (1.63 KB) restapi-issues-id-param.patch Jeffrey Clark, 2012-05-03 22:01

Related issues

Related to Redmine - Feature #6118: Filter by parent task or subtasksClosedJean-Philippe Lang2010-08-12

Actions
Related to Redmine - Feature #10259: Allow getting a list of issues by ID through the APIClosed

Actions
Related to Redmine - Feature #10763: REST-API: Please add "parent_issue_id" as filter for requests to filter out subticketsClosed

Actions
Actions

Also available in: Atom PDF