Project

General

Profile

Actions

Feature #12921

open

REST-API: filter projects by status

Added by Hannes Meier about 11 years ago. Updated almost 5 years ago.

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

0%

Estimated time:
Resolution:

Description

I just wrote a script to collect projects via Rest-API and recognized that i cant filter projects with my URL.
If i click "show closed projects" in my browser it will redirect me to a page like:
/redmine/projects?closed=1

But using "closed" with json doesnt seem to work:
/redmine/projects.json?closed=1

Would be great if you could add more filters for projects, like "closed"

I hope this feature is not included yet and that i am not doing something wrong here ...
I am using version 2.1.2.stable


Related issues

Has duplicate Redmine - Feature #19828: Rest API for projects - filter on project status.Closed

Actions
Actions #1

Updated by Felix Schäfer about 10 years ago

One of our (Planio) clients ran into this same issue today, it would be great to at least have the status of the project (open or closed) as part of the API response.

Actions #2

Updated by Lukas Pirl about 10 years ago

+1

Actions #3

Updated by Andreas Mayer over 9 years ago

+1 - Same issue today, especially with Mobile-Apps

Actions #4

Updated by Go MAEDA about 8 years ago

  • Has duplicate Feature #19828: Rest API for projects - filter on project status. added
Actions #5

Updated by Seppe Stas almost 5 years ago

+1 Not having this features requires me to fetch project details for every issue, and my query just to get the issues already takes ~1 second.

Actions

Also available in: Atom PDF