summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issuable_suggestions/queries/issues.query.graphql
blob: 2384b38134448fb0de36c364871f6b6cec2b47a6 (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
query issueSuggestion($fullPath: ID!, $search: String) {
  project(fullPath: $fullPath) {
    issues(search: $search, sort: updated_desc, first: 5) {
      edges {
        node {
          iid
          title
          confidential
          userNotesCount
          upvotes
          webUrl
          state
          closedAt
          createdAt
          updatedAt
          author {
            name
            username
            avatarUrl
            webUrl
          }
        }
      }
    }
  }
}