Project

General

Profile

Actions

Feature #10763

closed

REST-API: Please add "parent_issue_id" as filter for requests to filter out subtickets

Feature #10763: REST-API: Please add "parent_issue_id" as filter for requests to filter out subtickets

Added by Hannes Meier over 14 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Resolution:
Duplicate

Description

In the REST-API-Wiki you are offering parent_issue_id to use for issue creation.
I m trying to use this value to filter all issues of a project with a get-request with:
  • project_id
  • tracker_id
  • status_id
  • parent_issue_id

I want to get rid of subtickets but it s just ignoring my additions.

My request looks like:

/redmine/issues.json?project_id=pr0123&tracker_id=4&status_id=1&parent_issue_id=!*&limit=100&key=4240ba4e3andsoon

Am i just to stupid to use the parent_issue_id or is this feature not included?
Using <preparent_issue_id = !* for getting rid of subtickets would be great.


Related issues 2 (1 open — 1 closed)

Related to Redmine - Feature #10828: Request multiple distinct values including issue id, parent_id, root_idNewJean-Philippe LangActions
Is duplicate of Redmine - Feature #6118: Filter by parent task or subtasksClosedJean-Philippe LangActions

Updated by Jeffrey Clark over 14 years ago Actions #1

Patch available, see Issue #10828

Allows things like /projects/pr0123/issues.xml?parent_id=!*

Updated by Hannes Meier over 14 years ago Actions #2

thank you
i hope this will be added in the trunk

Updated by Toshi MARUYAMA over 13 years ago Actions #3

  • Related to Feature #10828: Request multiple distinct values including issue id, parent_id, root_id added

Updated by Maxime Vez over 12 years ago Actions #4

+1

Updated by Nicolas Roux over 12 years ago Actions #5

+1

Updated by Go MAEDA over 9 years ago Actions #6

  • Is duplicate of Feature #6118: Filter by parent task or subtasks added

Updated by Go MAEDA over 9 years ago Actions #7

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

Implemented in Redmine 3.1.0 as a part of #6118.
We can use parent_id parameter when listing issues.

Actions

Also available in: PDF Atom