Field API: Get the Number of Issues

This is a questions I got from my colleague. Quick one, yet, might be easy to miss if you are skimming through the document.

Q.  Is there a way to get the total number of issues in a given project without actually retrieving the issue records?

A.  You can use:

POST /api/get_issues

with “count_only” parameter set to non-nil. (In another word, you can give any value.) This will return only the issue count, e.g.,

{“count”:21}

Mikako

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s