summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issues_list/queries/get_issues_count.query.graphql
blob: e6896131da9a51b7fbe8ab7459b0f8677a3b47cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
query getProjectIssuesCount(
  $projectPath: ID!
  $search: String
  $state: IssuableState
  $assigneeId: String
  $assigneeUsernames: [String!]
  $authorUsername: String
  $labelName: [String]
  $milestoneTitle: [String]
  $milestoneWildcardId: MilestoneWildcardId
  $types: [IssueType!]
  $not: NegatedIssueFilterInput
) {
  project(fullPath: $projectPath) {
    issues(
      search: $search
      state: $state
      assigneeId: $assigneeId
      assigneeUsernames: $assigneeUsernames
      authorUsername: $authorUsername
      labelName: $labelName
      milestoneTitle: $milestoneTitle
      milestoneWildcardId: $milestoneWildcardId
      types: $types
      not: $not
    ) {
      count
    }
  }
}