query getIncidentsCountByStatus(
  $searchTerm: String
  $projectPath: ID!
  $issueTypes: [IssueType!]
  $authorUsername: String = ""
  $assigneeUsername: String = ""
) {
  project(fullPath: $projectPath) {
    id
    issueStatusCounts(
      search: $searchTerm
      types: $issueTypes
      authorUsername: $authorUsername
      assigneeUsername: $assigneeUsername
    ) {
      all
      opened
      closed
    }
  }
}
