YouTrack Standalone 2017.4 Help

Get Number of Issues for Several Queries

POST /issue/counts

Get number of issues for several search queries.

POST /rest/issue/counts?{rough}&{sync}

Parameters:

Name

Type

Description

rough

Boolean

Calculate approximate counts.

sync

Boolean

Calculate counts synchronously.

Sample

Request:

POST /rest/issue/counts <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <queries> <query>#Resolved</query> <query>#Unresolved</query> </queries>

Response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <counts> <count>591</count> <count>78</count> </counts>
Last modified: 7 March 2019