Feature #32804

API - Include issue count/list in versions and/or filter by issue count

Added by Jules Raffoux almost 3 years ago.

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


Category:REST API
Target version:-


Add an option to include the version's issue count or filter by issue count in the Versions section of the API.

Useful if you are going through all the versions and displaying them in a page, so you don't have to do another request to check if the version has issues.

Include issue count :

GET /project/1/issues.<xml/json>?inlude=issue_count

<?xml version="1.0" encoding="UTF-8"?>
<versions type="array" total_count="34">
    <project name="Redmine" id="1"/>

Filter by issue count :

// Issue count in greater or equal to 0
GET /project/1/issues.<xml/json>?issue_count=%3E%3D0

Also available in: Atom PDF