title: How to get the total number of issues of a JIRA Project?
body: <p>Since JIRA API only allows to make a search request with a max result of 1000 issues, I need to know if there is a way to get the total number of issues a project so I can iterate through all thousands of issues.</p>
  
  <pre><code>IRestResponse responseIssues = client.Execute(new RestRequest("search?jql=project=" + "\"DATPROJECT\"" + "&amp;maxResults=5000&amp;fields=assignee,summary,timetracking,resolutiondate,resolution,worklog", Method.GET));
  </code></pre>
  
  <p>I am currently doing like the code above but I only get 1000 results and not 5000 that I need. I know that I can use the filter "startAt" to iterate over all results but I don't know how many issues exist.</p>
  
  <p>Any ideas?</p>