Feature #12921

REST-API: filter projects by status

Added by Hannes Meier almost 5 years ago. Updated over 3 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
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

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

History

#1 Updated by Felix Schäfer almost 4 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.

#2 Updated by Lukas Pirl almost 4 years ago

+1

#3 Updated by Andreas Mayer over 3 years ago

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

#4 Updated by Go MAEDA over 1 year ago

  • Duplicated by Feature #19828: Rest API for projects - filter on project status. added

Also available in: Atom PDF