summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/sidebar/components/labels/labels_select_widget/graphql/issue_labels.query.graphql
blob: d7456a71affa63e05fac0d466ac2b661919321e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import "~/graphql_shared/fragments/label.fragment.graphql"

query issueLabels($fullPath: ID!, $iid: String, $types: [IssueType!]) {
  workspace: project(fullPath: $fullPath) {
    id
    issuable: issue(iid: $iid, types: $types) {
      id
      labels {
        nodes {
          ...Label
        }
      }
    }
  }
}