summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/incidents/graphql
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-23 09:09:18 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-23 09:09:18 +0000
commitdefde9698e1d87e7d8c09e487ed75675d1d67323 (patch)
treeec74808523206172b81bd83baf7dd0f579b933f0 /app/assets/javascripts/incidents/graphql
parent6520b1366e604be8c9c43f36159ecd6a5284a2b0 (diff)
downloadgitlab-ce-defde9698e1d87e7d8c09e487ed75675d1d67323.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/incidents/graphql')
-rw-r--r--app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql b/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql
new file mode 100644
index 00000000000..4478aa56ee7
--- /dev/null
+++ b/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql
@@ -0,0 +1,22 @@
+query getIncidents($projectPath: ID!, $labelNames: [String], $state: IssuableState) {
+ project(fullPath: $projectPath) {
+ issues(state: $state, labelName: $labelNames) {
+ nodes {
+ iid
+ title
+ createdAt
+ labels {
+ nodes {
+ title
+ color
+ }
+ }
+ assignees {
+ nodes {
+ username
+ }
+ }
+ }
+ }
+ }
+}