YouTrack Standalone 7.0 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.

Warning!
Setting this parameter

true
may influence YouTrack performance.

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: 2 February 2017