Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/sidebar/queries/project_milestones.query.graphql')
-rw-r--r--app/assets/javascripts/sidebar/queries/project_milestones.query.graphql13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/sidebar/queries/project_milestones.query.graphql b/app/assets/javascripts/sidebar/queries/project_milestones.query.graphql
new file mode 100644
index 00000000000..1237640c468
--- /dev/null
+++ b/app/assets/javascripts/sidebar/queries/project_milestones.query.graphql
@@ -0,0 +1,13 @@
+#import "./milestone.fragment.graphql"
+
+query projectMilestones($fullPath: ID!, $title: String, $state: MilestoneStateEnum) {
+ workspace: project(fullPath: $fullPath) {
+ __typename
+ attributes: milestones(searchTitle: $title, state: $state) {
+ nodes {
+ ...MilestoneFragment
+ state
+ }
+ }
+ }
+}